#include #ifdef LOCAL #include "./debug.cpp" #else #define debug(...) #define print_line #endif using namespace std; using ll = long long; int main() { vector str = {"watermelon", "beachball", "shrinebell"}; string s, t; cin >> s >> t; str.erase(find(str.begin(), str.end(), s)); str.erase(find(str.begin(), str.end(), t)); cout << str.front() << endl; }