#include #include #include #include #include #include #include using namespace std; int main(){ long double a,b; cin >> a >> b; long double x=b/a; if(x>=1600){ cout << 2 << endl; }else{ cout << 1 << endl; } return 0; }