s,f = map(int,input().split()) x=0 while x <= f: x += s print(x)