function Main(input) {
	tmp = input.split(" ");
	var r = parseInt(tmp[0]);
	var d = parseInt(tmp[1]);
	var x = parseInt(tmp[2]);
	for (var i = 0 ; i < 10 ; i++){
		var nx = (r*x) - d;
		console.log(nx);
		x = nx;
	}
}

Main(require("fs").readFileSync("/dev/stdin", "utf8"));