Var a,b:integer;
Begin
Write('Nhap a = ');readln(a);
Write('Nhap b = ');readln(b);
If b mod a = 0 then write(a,' la uoc cua b')
Else write(a,' khong la uoc cua b');
Readln;
End.
Var a,b:integer;
Begin
Write('Nhap a = ');readln(a);
Write('Nhap b = ');readln(b);
If b mod a = 0 then write(a,' la uoc cua b')
Else write(a,' khong la uoc cua b');
Readln;
End.
var a,b: integer;
begin
readln(a,b);
if b mod a=0 then write('yes') else write('no');
end.