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