import Foundation
 
let input_line: String = readLine()!
let split: [String] = input_line.components(separatedBy: " ")
 
let S = Int(split[0])!
let W = Int(split[1])!

if (W >= S){
    print("unsafe")
}else{
    print("safe")
}