v,t,p = map(int, input().split()) ans = v * (p + 1) + 1 x = v * (p + 1) while x >= t: ans += x // t x = x // t + (x % t) print(ans)