cat,dog=l=[0,1] while 1:b=input();l[b]+=2;print'mweooowf'[b:l[b]:2]