N, A, B = map(int, input().split()) for n in range(N): print(A * B**(n))