program realus;
{$N+}
  var a : double;
begin
  a := ........;
  if a + 1 = a
    then writeln('LYGU')
    else writeln('NELYGU');
end.