fun main(args: Array<String>) {
  val input1 = readLine()!!.split(" ").map(String::toInt)
  val sheep = input1[0]
  val wolves = input1[1]
  val result = if (wolves >= sheep) "unsafe" else "safe"
  println(result)
}
