#include #include int main(void){ // Your code here! int g_x,g_y; scanf("%d %d",&g_x,&g_y); if(abs(g_x) == abs(g_y)){ printf("1"); }else{ printf("2"); } }