print a greeting using gets.chomp