#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; using ll = long long; using Pll = pair; using Pii = pair; constexpr ll MOD = 1000000007; constexpr long double EPS = 1e-10; constexpr int dyx[4][2] = { { 0, 1}, {-1, 0}, {0,-1}, {1, 0} }; constexpr ll ANS_MAX = 1000000000; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); ll p, q, a; cin >> p >> q >> a; if(p == q) { if(a == 0) { cout << 0 << endl; } else { cout << ANS_MAX << endl; } return 0; } ll ans = 0LL; for(int i=1;i<=100*(a+1);++i) { if(p*i/100 < q*i/100 + a) { ++ans; } } if(p < q) { ans += ANS_MAX - (100 * (a+1)); } cout << ans << endl; }