#pragma GCC optimize ("O3") #pragma GCC target ("avx") #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-100 * a) / (q - p) [q > p] // x < (100 * a - 100) / (p - q) [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; } ll ans = 0; for (ll i = 1; i <= 1000000000; ++i) { ll v1 = (100 + p) * i / 100; ll v2 = (100 + q) * i / 100 + a; ans += (v2 > v1); } cout << ans << "\n"; return 0; }