S = raw_input() count = 0 for _ in xrange(8): count += sum(b == "." for b in raw_input()) if count % 2 == 0: print "oda" else: print "yukiko"