a,b,c=gets.split.map(&:to_i) l=0 r=c 2000.times{ m=(l+r)/2 if c > m+m/a*(b-1) l=m else r=m end } p r