'use strict'

const main = input => {
	const args = input.split('\n').map(arg => arg.split(' '))
	const r = parseInt(args[0][0], 10)
	const d = parseInt(args[0][1], 10)
	let x = parseInt(args[0][2], 10)

	for (let i = 0; i < 10; i++) {
		x = r * x - d 
		console.log(x)
	}
}

main(require('fs').readFileSync('/dev/stdin', 'utf8'))
