#include <iostream>
using namespace std;
int main() {
int x,y,k;
while (scanf("%d %d",&x,&y)!=EOF) { // 注意 while 处理多个 case
//for(int i=0;i<k;i++){
int flag=0,cnt=0;
if(x==y||x-2==y){
for(int x1=0,y1=0;!(x1==x&&y1==y);cnt++){
if(flag%4==0){
x1++;y1++;
}
if(flag%4==1){
x1++;y1--;
}
if(flag%4==2){
x1++;y1++;
}
if(flag%4==3){
x1--;y1++;
}
flag=(flag+1)%4;
}
printf("%d\n",cnt);
}
else {
printf("No Number\n");
}
// }
}
}
// 64 位输出请用 printf("%lld")

京公网安备 11010502036488号