v, t, p = map(int, input().split()) ans = 1 q, r = divmod(v * (p + 1), t - 1) if r == 0: ans += q * t - 1 else: ans += q * t + r print(ans)