program degtukai;
  { 87 u‘davinys }
  var n : integer; { degtuk— skai‡ius }
  function galima (n : integer) : boolean;
  begin
    galima :=   (n >= 4) and (n mod 2 = 0)
             or (n mod 3 = 0)
  end;
begin
  read (n);
  if galima (n)
    then writeln ('Galima')
    else writeln ('Negalima')
end.