/* -*- coding: utf-8 -*- * * 516.cc: No.516 赤と青の風船 - yukicoder */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; /* constant */ const int N = 3; /* typedef */ /* global variables */ /* subroutines */ /* main */ int main() { int rn = 0, bn = 0; for (int i = 0; i < N; i++) { string s; cin >> s; if (s == "RED") rn++; else bn++; } if (rn > bn) puts("RED"); else puts("BLUE"); return 0; }