fun main() {
    val sr = readLine()?.split(" ")?.map { Integer.parseInt(it) } ?: return
    val s = sr[0]
    val w = sr[1]
    if (s <= w) {
        println("unsafe")
    } else {
        println("safe")
    }
}