v, t, p = map(int, input().split()) print(v*(p+1) + (v*(p+1)+t-2)//(t-1))