y,n,*a=map(int,open(0).read().split()) s=y-sum(a) print([s,'red'][s<0])