with Ada.Text_IO;
with Ada.Integer_Text_IO;

use Ada.Text_IO;

procedure abc165a is
 s: Integer;
 w: Integer;
begin
 Ada.Integer_Text_IO.Get(s, 0);
 Ada.Integer_Text_IO.Get(w, 0);
 if s >= w then
  Put_Line("safe");
 else
  Put_Line("unsafe");
 end if;
end abc165a;