1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
class Main {
  public static void main(String[] args) {
    String count="Korea";
    boolean host=true;
    if(count.equalsIgnoreCase("KoReA")) {
      if(host){
        System.out.print("north");
      }else{
        System.out.print("south");
      }
     }else{
       System.out.print("china");
    }
    System.out.print(count);
  }
}
java version "1.8.0_31" Java(TM) SE Runtime Environment (build 1.8.0_31-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)