a=input("a = ")
b=input("b = ")
r=reste(a,b)
m=1
while r>0
    r=reste(a+r,b)
    m=m+1
end
afficher(m*a)