import sys input = sys.stdin.readline N, A, B = map(int, input().split()) for i in range(N): print(A*B**i)