#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; using ll = long long; using Pll = pair; using Pii = pair; constexpr ll MOD = 1000000007; constexpr long double EPS = 1e-10; constexpr int dyx[4][2] = { { 0, 1}, {-1, 0}, {0,-1}, {1, 0} }; int main() { std::ios::sync_with_stdio(false); cin.tie(0); long double a, b; cin >> a >> b; if(abs(40.0*b - 1600.0*a) < abs(b - 1600.0*a)) { cout << 1 << endl; } else { cout << 2 << endl; } }