def solve(): V, T, P = map(int, input().split()) total = V*(P+1) ans = 1+total//(T-1)*T+total%(T-1) return ans print(solve())