def tax_exclude(price, tax)
  possible_price = ((price + 1) / ((100 + tax) / 100.0)).to_i
  return nil if possible_price < ((price) / ((100 + tax) / 100.0))
  possible_price
end

while true
  old_tax, new_tax, sum = gets.split(" ").map(&:to_i)
  break if [old_tax, new_tax, sum] == [0, 0, 0]
  max_price = 0
  for i in 1..(sum / 2) do
    low_price = tax_exclude(i, old_tax)
    high_price = tax_exclude(sum - i, old_tax)
    next unless low_price && high_price
    new_tax_total = (low_price * ((100 + new_tax) / 100.0)).to_i + (high_price * ((100 + new_tax) / 100.0)).to_i
    max_price = new_tax_total if new_tax_total > max_price
  end
  puts max_price
end