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