N, A, B = [int(s) for s in input().split()] for i in range(N): print(A * B**i)