P, Q, A = gets.split.map(&:to_i) def f(x) (x + Rational(P * x, 100).floor) < (x + Rational(Q * x, 100).floor) + A end if f(1) ok = 1 ng = 10 ** 9 + 1 while (ok - ng).abs >= 2 x = (ok + ng) / 2 if f(x) ok = x else ng = x end end ans = ok (ok + 1).upto([ok + 100_000, 10 ** 9].min) do |x| ans += 1 if f(x) end puts ans else puts 0 end