V, T, P = gets.split.map(&:to_i) puts (P + 1) * V + Rational((P + 1) * V - 1, T - 1).floor + 1