import java.util.Scanner
object Main {
  def main(args:Array[String]) = {
    val sc = new java.util.Scanner(System.in)
    val s: Int = sc.nextInt
    val w: Int = sc.nextInt
    
    println( if( s < w) "unsafe" else "safe" )


  }
}