#include #include using namespace std; int main() { long long A, B; cin >> A >> B; assert(1LL <= A && A <= 25000000LL); assert(1LL <= B && B <= 1000000000LL); if (B / A >= 1600) cout << "2" << endl; else cout << "1" << endl; return 0; }