v, t, p = map(int, input().split()) v *= p + 1 x = v + 1 + (v - 1) // (t - 1) print(x)