A, B = map(int, input().split()) for i in range(B): if i % A == 0: print(i)