#include #include int main(void) { int n; int i; char s[10]; int red1 = 0, orange1 = 0, yellow1 = 0, green1 = 0, cyan1 = 0, blue1 = 0, violet1 = 0; int red2 = 0, orange2 = 0, yellow2 = 0, green2 = 0, cyan2 = 0, blue2 = 0, violet2 = 0; scanf("%d", &n); for(i = 0;i < n;i++){ scanf("%s", s); if(strcmp(s, "Red") == 0){ red1++; } else if(strcmp(s, "Orange") == 0){ orange1++; } else if(strcmp(s, "Yellow") == 0){ yellow1++; } else if(strcmp(s, "Green") == 0){ green1++; } else if(strcmp(s, "Cyan") == 0){ cyan1++; } else if(strcmp(s, "Blue") == 0){ blue1++; } else if(strcmp(s, "Violet") == 0){ violet1++; } } for(i = 0;i < n - 1;i++){ scanf("%s", s); if(strcmp(s, "Red") == 0){ red2++; } else if(strcmp(s, "Orange") == 0){ orange2++; } else if(strcmp(s, "Yellow") == 0){ yellow2++; } else if(strcmp(s, "Green") == 0){ green2++; } else if(strcmp(s, "Cyan") == 0){ cyan2++; } else if(strcmp(s, "Blue") == 0){ blue2++; } else if(strcmp(s, "Violet") == 0){ violet2++; } } if(red1 != red2){ printf("Red\n"); } else if(orange1 != orange2){ printf("Orange\n"); } else if(yellow1 != yellow2){ printf("Yellow\n"); } else if(green1 != green2){ printf("Green\n"); } else if(cyan1 != cyan2){ printf("Cyan\n"); } else if(blue1 != blue2){ printf("Blue\n"); } else if(violet1 != violet2){ printf("Violet\n"); } return 0; }