#include #include using namespace std; void solve(){ int a,b; cin >> a >> b; if(b/(a+1) <= 40 && 40 <= (b+1)/a) cout << 1 << endl; else cout << 2 << endl; } int main() { solve(); return 0; }