|
@@ -1,9 +1,29 @@
|
|
1
|
+
|
1
|
2
|
/**
|
2
|
3
|
* Created by iyasuwatts on 10/17/17.
|
|
4
|
+ *
|
3
|
5
|
*/
|
|
6
|
+import java.util.Scanner;
|
4
|
7
|
public class Main {
|
5
|
8
|
|
6
|
9
|
public static void main(String[] args ){
|
|
10
|
+ Scanner in=new Scanner(System.in);
|
|
11
|
+
|
|
12
|
+ String name=in . nextLine();
|
|
13
|
+
|
|
14
|
+ if(name.equals("Alice"))
|
|
15
|
+ {
|
|
16
|
+ System.out.println("hello" + ""+ name);
|
|
17
|
+ }
|
|
18
|
+ if(name.equals("bob"))
|
|
19
|
+ {
|
|
20
|
+ System.out.println("hello" + ""+ name);
|
|
21
|
+ }
|
|
22
|
+ else
|
|
23
|
+ {
|
|
24
|
+ System.out.println("sorry");
|
|
25
|
+ }
|
|
26
|
+
|
7
|
27
|
|
8
|
28
|
}
|
9
|
29
|
}
|