#include using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); string S,T; cin>>S>>T; for(string s:{"watermelon","beachball","shrinebell"}) { if(s==S||s==T)continue; cout << s << endl; } }