#include #include #include #include #include #include #include #include #include #include #include using ll = long long; using namespace std; int main(){ int a, b; cin >> a >> b; for (int i = 0; i < 10000; i++){ int total; for (int j=1; j < 10000; j++){ total = i+j; if ((double) 100*i/total >= a-0.5 && (double) 100*i/total < a+0.5 && (double) 100*j/total >= b-0.5 && (double) 100*j/total < b+0.5){ cout << total << endl; return 0; } } } }