N = int(input()) A = [s for s in input().split()] B = [s for s in input().split()] color = ['Red', 'Orange', 'Yellow', 'Green', 'Cyan', 'Blue', 'Violet'] for i in range(7): if len([j for j in A if j==color[i]]) != len([j for j in B if j==color[i]]): print(color[i]) break