#include using namespace std; using ll = long long; using ul = unsigned long; using ull = unsigned long long; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); ll p, q, a, res{ 0 }; cin >> p >> q >> a; if (p == q) res = a == 0 ? 0 : 1000000000; else if (p < q) { res = 1000000000; for (ll i = 1; i <= 100 * (a + q - p + 1) / (q - p); ++i) { if ((100 + p) * i / 100 >= (100 + q) * i / 100 + a) --res; } } else { for (ll i = 1; i<= 100 * (a + p - q + 1) / (p - q); ++i) { if ((100 + p) * i / 100 < (100 + q) * i / 100 + a) ++res; } } cout << res << "\n"; return 0; }