n,a,b = map(int,input().split()) for i in range(n): if i == 0: print(a) else: print(a * b ** i)