#include using namespace std; int main(){ int A, B; cin >> A >> B; if (B / A > 100){ cout << 2 << endl; } else { cout << 1 << endl; } }