program prob21
    implicit none
    integer :: a,b
    read(*,*) a,b
    if(a <= b) then
        write(*,'(a)') "unsafe"
    else
        write(*,'(a)') "safe"
    end if

    stop
contains
end program prob21