#include using namespace std; int main(){ string S, T; cin >> S >> T; unordered_set st = {"watermelon", "beachball", "shrinebell"}; st.erase(S); st.erase(T); cout << *st.begin(); }