Module Program

    Sub Main(args As String())

        Dim arrStr As String() = Split(Console.ReadLine())
        Dim S As Integer = CInt(arrStr(0))
        Dim W As Integer = CInt(arrStr(1))

        If S <= W Then
            Console.WriteLine("unsafe")
        Else
            Console.WriteLine("safe")
        End If

    End Sub

End Module