#include using namespace std; int main(){ ios::sync_with_stdio(false); cin.tie(0); set S{"watermelon","beachball","shrinebell"}; string s, t; cin >> s >> t; S.erase(s); S.erase(t); cout << *S.begin() << '\n'; }