sub input { print @_; my $r = ; chomp $r; return $r; }