#include using namespace std; using ll = long long; using ull = unsigned long long; #ifndef __MACRO_H__ #define __MACRO_H__ #define all(collection) (collection).begin(), (collection).end() // begin to end #define rep(i, begin, end) for (ll i = begin; i < end; i++) // repeat #define repr(i, begin, end) for (ll i = begin; end < i; i--) // repeat reverse #define size(collection) ((ll) (collection).size()) // collection size #endif int main(void) { double a, b; cin >> a >> b; if (1500 <= (b / a) && (b / a) < 1700) cout << 2; else cout << 1; return 0; }