using System;
using System.Linq;
class Test{
  public static void Main(){
    var SW = Console.ReadLine().Split(" ").Select(n => int.Parse(n)).ToList();
    if(SW[0]>SW[1]){
      Console.Write("safe");
    }else{
      Console.Write("unsafe");
    }
  }
}