a, b, c = gets.split.map &:to_i
lb, ub = 0, c
until ub - lb == 1
  mb = lb + ub >> 1
  if mb / a * b + mb - mb / a >= c
    ub = mb
  else
    lb = mb
  end
end
puts ub