#include #include void main(void){ char summerList[3][1000] ={"watermelon","beachball","shrinebell"}; int countList[3] = {0,0,0}; char s[1000] = "a"; scanf("%s",s); for(int i = 0 ; i < 3 ; i++){ if(strcmp(s,summerList[i])== 0){ countList[i]++; break; } } char t[1000] = "a"; scanf("%s",t); for(int i = 0 ; i < 3 ; i++){ if(strcmp(t,summerList[i])== 0){ countList[i]++; break; } } for(int i = 0 ; i < 3 ; i++){ if(countList[i] == 0){ printf("%s",summerList[i]); break; } } }