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