i=0 while 1:print raw_input(),"ebaoto"[i/4&1::2];i+=1