#include int main() { double x, y; scanf("%lf%lf", &x, &y); if ((x - 2) * (x - 2) + (y - 2) * (y - 2) <= 1 || (x + 2) * (x + 2) + (y - 2) * (y - 2) <= 1 || (x + 2) * (x + 2) + (y + 2) * (y + 2) <= 1 || (x - 2) * (x - 2) + (y + 2) * (y + 2) <= 1) { printf("10\n"); } else { printf("0\n"); } return 0; }