import std.stdio, std.conv, std.string, std.math, std.regex, std.range, std.ascii, std.algorithm;

void main(){
	auto ip = readln.split.to!(int[]), r=ip[0], D=ip[1], x=ip[2];
	int[] X = new int[](10);
	X[0] = x;

	foreach(i; 0..10){
		X[i+1] = (r*X[i]-D);
		writeln(X[i+1]);
	}
}