var count:Int = 0 for i in 0 ... 2 { let input:[String] = readLine()!.map{String($0)} if input[0] == "R" { count += 1 } } let output = count >= 2 ? "RED" : "BLUE" print(output)