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