/** @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() { double A, B; cin >> A >> B; double n1 = 5000; double n2 = 200000; if (abs((A / n1) - (B / n2)) <= abs((A / (n1 * n1)) - (B / (n2 * n2)))) { cout << "1" << endl; } else { cout << "2" << endl; } return 0; }