{-# LANGUAGE TypeApplications #-}
import qualified Data.ByteString.Char8 as BS

main :: IO()
main = do  
  [s,w] <- map (read @Int . BS.unpack) . BS.words <$> BS.getLine
  putStrLn $  if w >= s
              then "unsafe"
              else "safe"
