import sys input=lambda: sys.stdin.readline().rstrip() v,t,p=map(int,input().split()) v*=p+1 ans=(v//(t-1))*t+(v%(t-1)) print(ans+1)