def tax_included(price, tax)
  (price.to_f * (100 + tax) / 100).floor
end

def find_original_price(price, tax)
  (1..price).to_a.select { |orig| tax_included(orig, tax) == price }
end

loop do
  x, y, s = gets.chomp.split.map(&:to_i)
  break if x.zero? && y.zero? && s.zero?

  max = 0
  (1..(s / 2)).each do |p1|
    p2 = s - p1

    o1 = find_original_price(p1, x)
    o2 = find_original_price(p2, x)
    o1.each do |i|
      o2.each do |j|
        p = tax_included(i, y) + tax_included(j, y)
        max = [max, p].max
      end
    end
  end

  puts max
end