#include using namespace std; template inline bool chmax(T &a, T b) { if (a < b) { a = b; return 1; } return 0; } template inline bool chmin(T &a, T b) { if (a > b) { a = b; return 1; } return 0; } typedef long long int ll; #define EPS (1e-7) #define INF (1<<30) #define LLINF (1LL<<60) #define PI (acos(-1)) #define MOD (1000000007) #define ALL(v) (v).begin(), (v).end() #define RALL(v) (v).rbegin(), (v).rend() const int dx[4] = {1, 0, -1, 0}; const int dy[4] = {0, 1, 0, -1}; //------------------------------------- int main() { cin.tie(0); ios::sync_with_stdio(false); ll a,b; cin>>a>>b; ll t=b/a; if(t>=1600){ cout<<2<