import sequtils, strutils let s: string = stdin.readline b: seq[string] = mapIt(0..<8, stdin.readline) o: string = "oda" y: string = "yukiko" var cnt: int = 0 ans: string for i in 0..<8: cnt += b[i].count(".") if cnt mod 2 == 0: ans = if s == o: o else: y else: ans = if s == o: y else: o echo ans