#include void count_r_b(int* num_r_b, char s) { if (s == 114 || s == 82) { num_r_b[0] += 1; } else { num_r_b[1] += 1; } } int main(void) { int num_r_b[2]; char s_0[4], s_1[4], s_2[4]; scanf("%s", s_0); scanf("%s", s_1); scanf("%s", s_2); num_r_b[0]=0; num_r_b[1]=0; count_r_b(num_r_b, s_0[0]); count_r_b(num_r_b, s_1[0]); count_r_b(num_r_b, s_2[0]); if (num_r_b[0] > num_r_b[1]) { printf("%s\n", "RED"); } else { printf("%s\n", "BLUE"); } }