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