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