#include using namespace std; using ll = long long; // (100 + q) * x + 100 * a + 1 > (100 + p) * x // (q - p) * x > -100 * a + 1 // x > -100 * a / (q - p) [q > p] // x < -100 * a / (q - p) [q < p] int main() { cin.tie(0); ios::sync_with_stdio(false); ll p, q, a; cin >> p >> q >> a; if (p == q) { cout << (a == 0 ? 0 : 1000000000) << "\n"; return 0; } if (q > p) { ll x = max((100 - 100 * a) / (q - p), 0LL); ll ans = 1000000000 - x; for (ll i = x; i >= max(x - 200000, 0LL); i--) { ll v1 = (100 + p) * i / 100; ll v2 = (100 + q) * i / 100 + a; ans += (v2 > v1); } cout << ans << endl; return 0; } ll x = (100 * a - 100) / (p - q); ll ans = x; for (ll i = x + 1; i <= min(x + 200000, 1000000000LL); i++) { ll v1 = (100 + p) * i / 100; ll v2 = (100 + q) * i / 100 + a; ans += (v2 > v1); } cout << ans << endl; return 0; }