y,_,*a=map(int,open(0).read().split()) x=y-sum(a) print("red"if x<0 else x)