p=["oda","yukiko"] if "oda"==input() else ["yukiko","oda"] c=-4 for i in range(0, 8): c+=input().count(".") print(p[c%2])