#include using namespace std; int main(){ int a, b; cin >> a >> b; int ans = 10000000; for(int i = 0; i < 200; i++){ for(int j = 0; j < 200; j++){ if(a == round(100.0 * i / (i + j)) and b == round(100.0 * j / (i + j))){ ans = min(ans, i + j); } } } cout << ans << endl; return 0; }