v = gets.chomp.split.map(&:to_i)
a = v[0]
b = v[1]
c = v[2]

d = 1
while d <= 10 do
  if d == 1
    answer = a * c - b
    e = answer
    puts answer
    d = d + 1
  end
  if d >= 2
    answer = a * e - b
    e = answer
    puts answer
    d = d + 1
  end
end
