program main
    use,intrinsic :: iso_fortran_env
    implicit none
    integer(int32):: s,w

    read*, s,w

    if (s <= w) then
        print'(a)', 'unsafe'
    else
        print'(a)', 'safe'
    end if
    
end program 