let black = readLine()! let white = black.prefix(1) == "o" ? "yukiko" : "oda" var bCount = 0 var wCount = 0 for i in 1...8 { let line = readLine()! bCount += line.reduce(0, {$0 + ($1 == "b" ? 1 : 0)}) wCount += line.reduce(0, {$0 + ($1 == "w" ? 1 : 0)}) } if bCount > wCount { print(white) } else { print(black) }