#include int main() { long long int a, b; scanf("%lld %lld", &a, &b); if (820 * a > b) printf("1\n"); else printf("2\n"); return 0; }