#include using namespace std; using ll = long long; int main() { ios::sync_with_stdio(false); cin.tie(0); int n; cin >> n; const string r[] = { "Red", "Orange", "Yellow", "Green", "Cyan", "Blue", "Violet" }; int p[256] = {}; for (int i = 0; i < n; i++) { char c[10]; cin >> c; p[c[0]]++; } for (int i = 0; i < n - 1; i++) { char c[10]; cin >> c; p[c[0]]--; } for (int j = 0; j < 256; j++) { if (p[j]) { for (auto& s : r) { if (s[0] == j) { cout << s << endl; break; } } break; } } return 0; }