def x(r, d, prev_x)
	r * prev_x - d
end

input = STDIN.gets
splited = input.split(" ")

r = splited[0].to_i
d = splited[1].to_i
x2000 = splited[2].to_i

prev = x2000
10.times do |cnt|
	prev = x(r, d, prev)
	puts prev
end