program griby(input,output);
var k,d:1..maxint;
begin
  write('vvedite k: '); read(k);
  d:=k mod 10;
  if (k>10)and(k<15) then writeln('my nashli ',k,' gribov v lesu')
  else  case d of
    1: writeln('my nashli ',k,' grib v lesu');
    2,3,4: writeln('my nashli ',k,' griba v lesu');
    5,6,7,8,9,0: writeln('my nashli ',k,' gribov v lesu')
  end
end.