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