/** @file main.cpp @title No.863 計算量 @url https://yukicoder.me/problems/no/863 **/ #include using namespace std; typedef long long LL; #define ALL(obj) (obj).begin(), (obj).end() #define REP(i, N) for (int i = 0; i < (N); ++i) int main() { LL A, B; cin >> A >> B; int n1 = 5000; int n2 = 200000; if (A / n1 == B / n2) { cout << "1" << endl; } else { cout << "2" << endl; } return 0; }