program czy_k_dzieli_m;
var k,m: integer;
begin
read(k,m);
while m >= k do
m := m - k;
if m = 0 then
writeln(k,' dzieli ',m)
else
writeln(k,' nie dzieli ',m);
end.
cHJvZ3JhbSBjenlfa19kemllbGlfbTsKdmFyIGssbTogaW50ZWdlcjsKICAgIApiZWdpbgogICAgcmVhZChrLG0pOwogICAgd2hpbGUgbSA+PSBrIGRvCiAgICAgICAgbSA6PSBtIC0gazsKICAgICAgICAKICAgIGlmIG0gPSAwIHRoZW4KICAgICAgICB3cml0ZWxuKGssJyBkemllbGkgJyxtKQogICAgZWxzZQogICAgICAgIHdyaXRlbG4oaywnIG5pZSBkemllbGkgJyxtKTsKZW5kLg==