o,y,D='oda','yukiko','' for _ in [0]*8:D+=input() print(([y,o],[o,y])[input()==o][D.count('.')%2])