process.stdin.resume();
process.stdin.setEncoding('utf8'); 
var lines = [];
var reader = require('readline').createInterface({
	input: process.stdin,
	output: process.stdout
});
 
reader.on('line', (line) => {
	lines.push(line);
});

reader.on('close', () => {
	"use strict"
	const r = +lines[0].split(" ")[0];
	const D = +lines[0].split(" ")[1];
	const x = +lines[0].split(" ")[2];
	
	const ans = [];
	let last = x;
	for(let i=0; i<10; i++){
		last = r*last - D;
		ans.push(last);
	}
	
	console.log(ans.join("\n"));
});