import Foundation

let input_line: String = readLine()!
let split: [String] = input_line.components(separatedBy: " ")

let s = Int(split[0])!
let w = Int(split[1])!

var ans = "safe"

if s <= w {
    ans = "unsafe"
}

print(ans)