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