#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ scanf(char *, int *, ...);
int main() {
  int t, i;
  scanf("%d", &t);
  for (i = 0; i < t; i++) {
    int x, y;
    scanf("%d%d", &x, &y);
    if (x % 2 == 1 && y % 2 == 1) {
      if (x == y || x - y == 2)
        printf("%d\n", (x + y) - 1);
      else
        printf("No Number\n");
    } else if (x % 2 == 0 && y % 2 == 0) {
      if (x == y || x - y == 2)
        printf("%d\n", (x + y));
      else
        printf("No Number\n");
    } else
      printf("No Number\n");
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xecc(%rip),%rdi
lea    -0x8(%rbp),%rsi
mov    $0x0,%al
call   1040 <scanf@plt>
movl   $0x0,-0xc(%rbp)
mov    -0xc(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    1271 <main+0x151>
lea    0xea5(%rip),%rdi
lea    -0x10(%rbp),%rsi
lea    -0x14(%rbp),%rdx
mov    $0x0,%al
call   1040 <scanf@plt>
mov    -0x10(%rbp),%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
cmp    $0x1,%edx
jne    11dc <main+0xbc>
mov    -0x14(%rbp),%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
cmp    $0x1,%edx
jne    11dc <main+0xbc>
mov    -0x10(%rbp),%eax
cmp    -0x14(%rbp),%eax
je     11ad <main+0x8d>
mov    -0x10(%rbp),%eax
sub    -0x14(%rbp),%eax
cmp    $0x2,%eax
jne    11c9 <main+0xa9>
mov    -0x10(%rbp),%esi
add    -0x14(%rbp),%esi
sub    $0x1,%esi
lea    0xe48(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    11d7 <main+0xb7>
lea    0xe39(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    125e <main+0x13e>
mov    -0x10(%rbp),%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
jne    124b <main+0x12b>
mov    -0x14(%rbp),%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
jne    124b <main+0x12b>
mov    -0x10(%rbp),%eax
cmp    -0x14(%rbp),%eax
je     121f <main+0xff>
mov    -0x10(%rbp),%eax
sub    -0x14(%rbp),%eax
cmp    $0x2,%eax
jne    1238 <main+0x118>
mov    -0x10(%rbp),%esi
add    -0x14(%rbp),%esi
lea    0xdd9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1246 <main+0x126>
lea    0xdca(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1259 <main+0x139>
lea    0xdb7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    125e <main+0x13e>
jmp    1263 <main+0x143>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    1148 <main+0x28>
xor    %eax,%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
lea    0xebd(%rip),%rdi
lea    0x10(%rsp),%rsi
xor    %eax,%eax
call   1050 <scanf@plt>
cmpl   $0x0,0x10(%rsp)
jle    121e <main+0xee>
lea    0xe9d(%rip),%r14
lea    0x14(%rsp),%r15
lea    0xc(%rsp),%rbx
lea    0xe91(%rip),%r12
lea    0xe8e(%rip),%r13
xor    %ebp,%ebp
jmp    1195 <main+0x65>
nop
mov    %r13,%rdi
call   1030 <puts@plt>
add    $0x1,%ebp
cmp    0x10(%rsp),%ebp
jge    121e <main+0xee>
mov    %r14,%rdi
mov    %r15,%rsi
mov    %rbx,%rdx
xor    %eax,%eax
call   1050 <scanf@plt>
mov    0x14(%rsp),%eax
mov    %eax,%ecx
shr    $0x1f,%ecx
add    %eax,%ecx
and    $0xfffffffe,%ecx
mov    %eax,%edx
sub    %ecx,%edx
cmp    $0x1,%edx
jne    11f0 <main+0xc0>
mov    0xc(%rsp),%ecx
mov    %ecx,%edx
shr    $0x1f,%edx
add    %ecx,%edx
and    $0xfffffffe,%edx
mov    %ecx,%esi
sub    %edx,%esi
cmp    $0x1,%esi
jne    11f0 <main+0xc0>
mov    %eax,%edx
sub    %ecx,%edx
je     11de <main+0xae>
cmp    $0x2,%edx
jne    1180 <main+0x50>
lea    (%rax,%rcx,1),%esi
add    $0xffffffff,%esi
jmp    120f <main+0xdf>
cs nopw 0x0(%rax,%rax,1)
test   $0x1,%al
jne    1180 <main+0x50>
mov    0xc(%rsp),%esi
test   $0x1,%sil
jne    1180 <main+0x50>
mov    %eax,%ecx
sub    %esi,%ecx
je     120d <main+0xdd>
cmp    $0x2,%ecx
jne    1180 <main+0x50>
add    %eax,%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
jmp    1188 <main+0x58>
xor    %eax,%eax
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [3 x i8] c"%d\00"
@.str.1 = [5 x i8] c"%d%d\00"
@.str.2 = [4 x i8] c"%d\0A\00"
@.str.3 = [11 x i8] c"No Number\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
store i32 0, i32* %1
%6 = call i32 (i8*, i32*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %2)
store i32 0, i32* %3
br label %7
7: ; preds = %67, %0
%8 = load i32, i32* %3
%9 = load i32, i32* %2
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %70
11: ; preds = %7
%12 = call i32 (i8*, i32*, ...) @scanf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32* %4, i32* %5)
%13 = load i32, i32* %4
%14 = srem i32 %13, 2
%15 = icmp eq i32 %14, 1
br i1 %15, label %16, label %38
16: ; preds = %11
%17 = load i32, i32* %5
%18 = srem i32 %17, 2
%19 = icmp eq i32 %18, 1
br i1 %19, label %20, label %38
20: ; preds = %16
%21 = load i32, i32* %4
%22 = load i32, i32* %5
%23 = icmp eq i32 %21, %22
br i1 %23, label %29, label %24
24: ; preds = %20
%25 = load i32, i32* %4
%26 = load i32, i32* %5
%27 = sub nsw i32 %25, %26
%28 = icmp eq i32 %27, 2
br i1 %28, label %29, label %35
29: ; preds = %24, %20
%30 = load i32, i32* %4
%31 = load i32, i32* %5
%32 = add nsw i32 %30, %31
%33 = sub nsw i32 %32, 1
%34 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %33)
br label %37
35: ; preds = %24
%36 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0))
br label %37
37: ; preds = %35, %29
br label %66
38: ; preds = %16, %11
%39 = load i32, i32* %4
%40 = srem i32 %39, 2
%41 = icmp eq i32 %40, 0
br i1 %41, label %42, label %63
42: ; preds = %38
%43 = load i32, i32* %5
%44 = srem i32 %43, 2
%45 = icmp eq i32 %44, 0
br i1 %45, label %46, label %63
46: ; preds = %42
%47 = load i32, i32* %4
%48 = load i32, i32* %5
%49 = icmp eq i32 %47, %48
br i1 %49, label %55, label %50
50: ; preds = %46
%51 = load i32, i32* %4
%52 = load i32, i32* %5
%53 = sub nsw i32 %51, %52
%54 = icmp eq i32 %53, 2
br i1 %54, label %55, label %60
55: ; preds = %50, %46
%56 = load i32, i32* %4
%57 = load i32, i32* %5
%58 = add nsw i32 %56, %57
%59 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %58)
br label %62
60: ; preds = %50
%61 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0))
br label %62
62: ; preds = %60, %55
br label %65
63: ; preds = %42, %38
%64 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0))
br label %65
65: ; preds = %63, %62
br label %66
66: ; preds = %65, %37
br label %67
67: ; preds = %66
%68 = load i32, i32* %3
%69 = add nsw i32 %68, 1
store i32 %69, i32* %3
br label %7
70: ; preds = %7
ret i32 0
}

LLVM IR (-O2):
@.str = [3 x i8] c"%d\00"
@.str.1 = [5 x i8] c"%d%d\00"
@.str.2 = [4 x i8] c"%d\0A\00"
@str.5 = [10 x i8] c"No Number\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = bitcast i32* %1 to i8*
%5 = call i32 (i8*, i32*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %1)
%6 = load i32, i32* %1
%7 = icmp sgt i32 %6, 0
br i1 %7, label %8, label %55
8: ; preds = %0
%9 = bitcast i32* %2 to i8*
%10 = bitcast i32* %3 to i8*
br label %11
11: ; preds = %8, %51
%12 = phi i32 [ 0, %8 ], [ %52, %51 ]
%13 = call i32 (i8*, i32*, ...) @scanf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32* %2, i32* %3)
%14 = load i32, i32* %2
%15 = srem i32 %14, 2
%16 = icmp eq i32 %15, 1
br i1 %16, label %17, label %32
17: ; preds = %11
%18 = load i32, i32* %3
%19 = srem i32 %18, 2
%20 = icmp eq i32 %19, 1
br i1 %20, label %21, label %32
21: ; preds = %17
%22 = icmp eq i32 %14, %18
%23 = sub nsw i32 %14, %18
%24 = icmp eq i32 %23, 2
%25 = select i1 %22, i1 true, i1 %24
br i1 %25, label %26, label %30
26: ; preds = %21
%27 = add i32 %14, -1
%28 = add i32 %27, %18
%29 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %28)
br label %51
30: ; preds = %21
%31 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @str.5, i64 0, i64 0))
br label %51
32: ; preds = %17, %11
%33 = and i32 %14, 1
%34 = icmp eq i32 %33, 0
br i1 %34, label %35, label %49
35: ; preds = %32
%36 = load i32, i32* %3
%37 = and i32 %36, 1
%38 = icmp eq i32 %37, 0
br i1 %38, label %39, label %49
39: ; preds = %35
%40 = icmp eq i32 %14, %36
%41 = sub nsw i32 %14, %36
%42 = icmp eq i32 %41, 2
%43 = select i1 %40, i1 true, i1 %42
br i1 %43, label %44, label %47
44: ; preds = %39
%45 = add nsw i32 %36, %14
%46 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %45)
br label %51
47: ; preds = %39
%48 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @str.5, i64 0, i64 0))
br label %51
49: ; preds = %35, %32
%50 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @str.5, i64 0, i64 0))
br label %51
51: ; preds = %49, %47, %44, %26, %30
%52 = add nuw nsw i32 %12, 1
%53 = load i32, i32* %1
%54 = icmp slt i32 %52, %53
br i1 %54, label %11, label %55
55: ; preds = %51, %0
ret i32 0
}