#include <iostream>using namespace std;int main(){int TestNum, i, x, y, dot = 0;cin >> TestNum;for (i = 1; i <= TestNum; i++){cin >> x >> y;if (x != y && y != x - 2)cout << "No Number" << endl;else{if (x == y && x % 2 == 0)dot = y * 2;else if (x == y && x % 2 != 0)dot = x * 2 - 1;else if (y == x - 2 && x % 2 == 0)dot = x + y;else if (y == x - 2 && x % 2 != 0)dot = x + y - 1; cout << dot << endl;}dot = 0;}}


