Program Project2;
{$APPTYPE CONSOLE}
uses SysUtils;
var n,k: integer;
f: text;
begin
assign (f,'C:\input.txt');
reset (f);
read (f,n,k);
writeln(' n = ',n,' k = ',k);
close(f);
while (n mod k)>0 do n:=n+1;
assign (f,'C:\output.txt');
rewrite (f);
write (f,n);
close (f);
writeln(' n = ',n);
readln;
end.