main = getLine >>= solve solve :: String -> IO () solve n = getContents >>= putStrLn . ans . foldl ff True where ans x | x = n | otherwise = if n == "oda" then "yukiko" else "oda" ff acc x | x == 'b' || x == 'w' = not acc | otherwise = acc