#include #include #include #include #include #include #define Max(a, b) ((a) > (b) ? (a) : (b)) #define Min(a, b) ((a) > (b) ? (b) : (a)) #define abs(x) ((x) > 0 ? (x) : -(x)) #define MOD 1000000007 //10^9 + 7 #define endl printf("\n") typedef long long ll; int main(int argc, char *argv[]) { ll a, b; scanf("%lld %lld", &a, &b); ll k, l; k = a * 40; l = a * 40 * 40; if (abs(k - b) < abs(l - b)) printf("1\n"); else printf("2\n"); return 0; }