import sys input=sys.stdin.readline def I(): return int(input()) def MI(): return map(int, input().split()) def LI(): return list(map(int, input().split())) def main(): mod=10**9+7 V,T,P=MI() ans=0 ans+=V*(P+1) ans+=ans//(T-1)+1 print(ans) main()