#include #include int main() { // 3.赤と青の風船_516| std::string barun = ""; int a = 0, b = 0; for (int i = 0;i < 3; i++) { std::cin >> barun; if (barun == "RED") { a++; } else if (barun == "BLUE") { b++; } else{} barun = ""; } if (a > b) { std::cout << "RED" << std::endl; } else if (b > a) { std::cout << "BLUE" << std::endl; } else{} return 0; }