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