import java.util.HashMap; import java.util.Scanner; public class Main1 { public static void main(String[] args) { Scanner sc=new Scanner(System.in); HashMapmap=new HashMap<>(); String []ar={"watermelon","beachball","shrinebell"}; map.put(ar[0], false); map.put(ar[1], false); map.put(ar[2], false); for (int i = 0; i < 2; i++) { String tem=sc.next(); map.put(tem, true); } sc.close(); for (String s : map.keySet()) { if(map.get(s)==false){ System.out.println(s); } } } }