#WA import sys readline = sys.stdin.readline V, T, P = map(int, readline().split()) vtotal = V*(P+1) print(vtotal + (1+(vtotal)//(T-1)))