colors=["Red","Orange","Yellow","Green","Cyan","Blue","Violet"] N=int(input()) A=list(map(str,input().split())) B=list(map(str,input().split())) for c in colors: if A.count(c)>B.count(c): print(c)