/**
 * This program displays a greeting "Hello <name>"
 * after you enter your name at the command prompt
 * and press the 'Enter' key.
 * @author
 * @version
 */

import java.io.*;

public class SimpleDisplayName{
	public static void main(String args[])throws IOException{
			//Read the text entered at the command prompt
        	System.out.print("Enter your name and press the 'Enter' key: ");

        	BufferedReader in = new BufferedReader(new InputStreamReader(System.in));

        	//Put the text entered on the command line into a string
        	String s = in.readLine();

        	//Print the string entered on the screen
			System.out.println("Hello "+ s);
    }
}
