import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class HelloWorld{ public static void main(String[] args) { try { BufferedReader strin=new BufferedReader(new InputStreamReader(System.in)); String str = strin.readLine(); if(str.equals("H")){ System.out.println("Hello World"); return; } System.out.println("Good Bye"); } catch (IOException e) { e.printStackTrace(); } } }