//数学归纳法归纳每个数字的位置以及对于的数字
#include <iostream>
#include <unordered_map>
#include <vector>
using namespace std;
int searchCoor(int x,int y){
if(x == y){
return x%2==1 ? x+y-1:x+y;
}else if (x-2>=0 &&x-2 == y) {
return x%2==1 ? x+y-1:x+y;
}else{
return -1;
}
}
int main() {
int a,b,n;
while (cin >> a >> b) { // 注意 while 处理多个 case
if(searchCoor(a, b) ==-1) cout<<"No Number";
else cout << searchCoor(a, b) << endl;
}
}
// 64 位输出请用 printf("%lld")

京公网安备 11010502036488号