S = raw_input() count = 0 for _ in xrange(8): count += sum(b == "." for b in raw_input()) W = ["yukiko", "oda"] if W[0] != S: W = reversed(W) print W[count % 2]