#include #include using namespace std; int main(){ int p,q,a;cin>>p>>q>>a; //((100+q)/100)x+a = ((100+p)/100)x double A = (double)(100+q)/100; double B = (double)(100+p)/100; //Ax+a = Bx //a = x(B-A) double C = B-A; //a = xC int x = (double)a/C; //cout << fixed << setprecision(8); //cout << A << " " << B << " " << C << " " << x << endl; int ans = x; while(x*A+a-x*B < 2.0 && ans > 0){ int X = x*A+a; int Y = x*B; if(X == Y){ ans--; //cout << "!!" << x << ": " << x*A+a << " " << x*B << endl; }else{ //cout << x << ": " << x*A+a << " " << x*B << endl; } x--; } cout << max(0,(int)ans) << endl; }