1234567891011121314151617181920
  1. /**
  2. * Created by iyasuwatts on 10/17/17.
  3. */
  4. import java.util.*;
  5. public class Main {
  6. public static void main(String[] args ){
  7. System.out.println("Please Print Your Name");
  8. Scanner input = new Scanner(System.in);
  9. String name = input.nextLine();
  10. if(name.equals("Alice") || name.equals("Bob")){
  11. System.out.println("Greetings " + name);
  12. }else{
  13. System.out.println("Go Away " + name);
  14. }
  15. }
  16. }