import std.stdio, std.string, std.conv, std.array, std.range, std.algorithm;

void main() {
    long r, d, x;
    readf("%d %d %d", &r, &d, &x);

    foreach (i; 0..10) {
        x = r*x - d;
        writeln(x);
    }

}
