简单题
#include <iostream>
using namespace std;
int main()
{
int num,x,y;
cin >> num;
while(num--)
{
cin >> x >> y;
if(y%2 == 0)
{
if(y == x)
cout << 2*y << endl;
else if(y == x - 2)
cout << 2*y + 2 << endl;
else
cout << "No Number" << endl;
}
else
{
if(y == x)
cout << 2*y - 1 << endl;
else if(y == x - 2)
cout << 2*y + 1 << endl;
else
cout << "No Number" << endl;
}
}
return 0;
}