import java.util.ArrayList; import java.util.Scanner; public class Main { public static void main(String[] args) { // "watermelon", "beachball", "shrinebell" ArrayList choices = new ArrayList<>(); choices.add("watermelon"); choices.add("beachball"); choices.add("shrinebell"); Scanner sc = new Scanner(System.in); choices.remove(sc.next()); choices.remove(sc.next()); System.out.println(choices.get(0)); } }