If a div b = a/b then write('delits') else write('NOT');
var a,b:integer
begin
readln(a,b);
If a mod b <>0 then write('delits') else write('NOT');
end.
function GCD (A: integer; B: integer): integer;
begin
while (a <> 0) and (b <> 0) do
if a >= b then
a := a mod b
else
b := b mod a;
GCD := a + b;
end;
Var A, B: integer;
begin
ReadLn(A, B);
If GCD(A, B) <> 1 Then Write('Yes') Else Write('No');
end.