#include using namespace std; int main() { int64_t a, b; cin >> a >> b; if (b / a >= 1600) cout << "2\n"; else cout << "1\n"; return 0; }