program Main implicit none integer N read *, N if (N < 1984) then print *, N else if (N < 2008) then print *, N else print *, N end if end program Main