V, T, P = map(int, input().split()) if T == 1: k = V // 1 else: numerator = V + T - 1 denominator = T - 1 k = numerator // denominator x = V + k total = (P + 1) * x print(total)