#include using namespace std; typedef long long ll; ll my_pow(ll x, ll n) { if (n == 0) return 1; if (n % 2 == 0) return my_pow(x * x, n / 2); return x * my_pow(x, n - 1); } int main() { ll P, Q, A; cin >> P >> Q >> A; ll t = my_pow(10, 9); if (P == Q) { if (A == 0) { cout << "0\n"; } else { cout << t << "\n"; } return 0; } if (Q < P && A == 0) { cout << "0\n"; return 0; } if (P < Q) { if (A != 0) { cout << t << "\n"; } else { int k = 0; for (ll x = 1; x <= 99; x++) { ll p = (100 + P) * x / 100; ll q = (100 + Q) * x / 100 + A; if (p >= q) k++; } cout << t - k << "\n"; } return 0; } int cnt = 0; for (ll x = 1; x <= 1000000; x++) { ll p = (100 + P) * x / 100; ll q = (100 + Q) * x / 100 + A; if (p < q) cnt++; } cout << cnt << "\n"; return 0; }