123456789101112131415161718192021222324252627282930 |
-
- /**
- * Created by iyasuwatts on 10/17/17.
- *
- */
- import java.util.Scanner;
- public class Main {
-
- public static void main(String[] args ){
- Scanner in=new Scanner(System.in);
-
- String name=in . nextLine();
-
- if(name.equals("Alice"))
- {
- System.out.println("hello" + ""+ name);
- }
- if(name.equals("bob"))
- {
- System.out.println("hello" + ""+ name);
- }
- else
- {
- System.out.println("sorry");
- }
-
-
- }
- }
|