#include using namespace std; typedef long long int ll; typedef vector v; typedef string str; typedef double dou; #define FOR(i,a,b) for(ll i=a;i>a[i];} #define vin(a,n) f0r(i,n) {ll tmp;cin>>tmp;a.push_back(tmp);} #define douketa(n) cout<>s>>t; if(s=="watermelon"){ a=1; }else if(s=="beachball"){ b=-1; }else{ c=1e10; } if(t=="watermelon"){ a=1; }else if(t=="beachball"){ b=-1; }else{ c=1e10; } if(a==0){ cout<<"watermelon"; }else if(b==0){ cout<<"beachball"; }else{ cout<<"shrinebell"; } }