program fputest(input,output);

function test(var x,y,z,w:double):double;

begin
   test:=x-(y/z)*w;
end;

var
   k1,k2 : double;

begin
   k1:=4195835;
   k2:=3145727;
   if abs(test(k1,k1,k2,k2))>1 then begin
      writeln('Bad chip');
   end else begin
      writeln('Chip OK');
   end;
end.
