from collections import Counter n = int(input()) counter1 = Counter(input().split()) counter2 = Counter(input().split()) for color in ["Red", "Orange", "Yellow", "Green", "Cyan", "Blue", "Violet"]: if counter1[color] != counter2[color]: print(color) break