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