program main
	implicit none
    integer::a,lenn
    character(10)::s
    read(*,*)a
    read(*,*)s
    lenn=len_trim(s)
    if(a>=3200)then
    	write(*,*) s(1:lenn)
    else
    	write(*,*) 'red'
    end if
    stop
end program main

