#include #include int main() { char str1[32], str2[32]; scanf("%s", str1); scanf("%s", str2); if(strcmp(str1, "watermelon") == 0 || strcmp(str2, "watermelon") == 0){ if(strcmp(str1, "shrinebell") == 0 || strcmp(str2, "shrinebell") == 0){ printf("beachball"); }else{ printf("shrinebell"); } }else{ printf("watermelon"); } return 0; }