a=int(input())
s=input()
if a <3200:
    if s=='red':
        print("pink")
        exit()
    else:
        print("red")
        exit()
if a>=3200:
    if s=='red':
        print("red")
        exit()
    else:
        print("pink")
        exit()