n=int(input()) A=list(map(str,input().split())) B=list(map(str,input().split())) l1=[] l2=[] l=["Red","Orange","Yellow","Green","Cyan","Violet"] for x in l: l1.append(A.count(x)) l2.append(B.count(x)) for i in range(6): if l1[i]!=l2[i]: print(l[i])