v, t, q = gets.split.map &:to_i l = v * (q + 1) puts l + (l - 1) / (t - 1) + 1