V, T, P = map(int, input().split()) S = V * (P + 1) + (V * (P + 1) - 1) // (T - 1) + 1 print(S)