#include using namespace std; signed main(){ int A, B; cin >> A >> B; for( int d = 1; ; ++d ) for( int i = 0; i <= d; ++i ) if( 100 * i / d == A and 100 * ( d - i ) / d == B ) cout << d << endl, exit( 0 ); return 0; }