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

  puts ((1..(s-1)).each.to_a.repeated_permutation(2).map do |a,b|
    ax = ((100.0+x)/100.0*a).to_i
    bx = ((100.0+x)/100.0*b).to_i
    next -1 unless ax + bx == s

    ay = ((100.0+y)/100.0*a).to_i
    by = ((100.0+y)/100.0*b).to_i
    ay + by
  end.max)
end