#include using namespace std; using ll = long long; int main(){ std::ios::sync_with_stdio(false); std::cin.tie(nullptr); ll N, A, B; cin >> N >> A >> B; while (N--){ cout << A << "\n"; A *= B; } }