import std.stdio, std.conv, std.string, std.algorithm,
       std.math, std.array, std.container, std.typecons;

void main() {
  auto sw = readln.chomp.split.to!(int[]);
  if(sw[0]<=sw[1]) writeln("unsafe");
  else writeln("safe");
}
