c=d=0 while 1:i=input()[0];exec(i+'+=2;print("mweooowf"[0x%s&1:%%s:2])'%i%i)