line = $stdin.gets.split.map{|v| v.to_i }
r = line[0]
D = line[1]
x2k = line[2]

puts x2k1 = r * x2k - D
puts x2k2 = r * x2k1 - D
puts x2k3 = r * x2k2 - D
puts x2k4 = r * x2k3 - D
puts x2k5 = r * x2k4 - D
puts x2k6 = r * x2k5 - D
puts x2k7 = r * x2k6 - D
puts x2k8 = r * x2k7 - D
puts x2k9 = r * x2k8 - D
puts r * x2k9 - D
