from math import ceil v, t, p = map(int, input().split()) print((p+1)*v + ceil(((p+1)*v-1) / (t-1)))