   program abc164a
      implicit none
      integer::s,w

         read *, s,w
         if (w>=s) then
            print *, 'unsafe'
         else
            print *, 'safe'
         end if

   end program abc164a