n=int(input()) v=list(input().split()) w=list(input().split()) for i in ['Red','Orange','Yellow','Green','Cyan','Blue','Violet']: if v.count(i)!=w.count(i): print(i)