import java.util.Scanner

import scala.annotation.tailrec
import scala.io.StdIn._

object Main extends App {

  val Array(s,w) = readLine().split(" ").map(_.toInt)

  def solve() = {
    if(s <= w*2) "unsafe" else "safe"
  }

  println(solve())

}

