#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 *, long *, ...);
int main() {
  long i, t, a, b;
  scanf("%ld", &t);
  if (t < 15) {
    for (i = 1; i <= t; i++) {
      scanf("%ld%ld", &a, &b);
      if (a < b)
        printf("<\n");
      if (a > b)
        printf(">\n");
      if (a == b)
        printf("=\n");
    }
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xecd(%rip),%rdi
lea    -0x18(%rbp),%rsi
mov    $0x0,%al
call   1040 <scanf@plt>
cmpq   $0xf,-0x18(%rbp)
jge    11e1 <main+0xc1>
movq   $0x1,-0x10(%rbp)
mov    -0x10(%rbp),%rax
cmp    -0x18(%rbp),%rax
jg     11dc <main+0xbc>
lea    0xe97(%rip),%rdi
lea    -0x20(%rbp),%rsi
lea    -0x28(%rbp),%rdx
mov    $0x0,%al
call   1040 <scanf@plt>
mov    -0x20(%rbp),%rax
cmp    -0x28(%rbp),%rax
jge    1192 <main+0x72>
lea    0xe7a(%rip),%rdi
call   1030 <printf@plt>
mov    -0x20(%rbp),%rax
cmp    -0x28(%rbp),%rax
jle    11ac <main+0x8c>
lea    0xe63(%rip),%rdi
call   1030 <printf@plt>
mov    -0x20(%rbp),%rax
cmp    -0x28(%rbp),%rax
jne    11c6 <main+0xa6>
lea    0xe4c(%rip),%rdi
call   1030 <printf@plt>
jmp    11cb <main+0xab>
mov    -0x10(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x10(%rbp)
jmp    1154 <main+0x34>
jmp    11e1 <main+0xc1>
xor    %eax,%eax
add    $0x30,%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    0xece(%rip),%rdi
lea    0x10(%rsp),%rsi
xor    %eax,%eax
call   1040 <scanf@plt>
mov    0x10(%rsp),%rax
add    $0xfffffffffffffff1,%rax
cmp    $0xfffffffffffffff2,%rax
jae    1161 <main+0x41>
xor    %eax,%eax
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
lea    0xe98(%rip),%r14
lea    0x8(%rsp),%r15
mov    %rsp,%rbx
lea    0xe92(%rip),%r13
lea    0xe89(%rip),%rbp
xor    %r12d,%r12d
jmp    119b <main+0x7b>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
add    $0x1,%r12
cmp    0x10(%rsp),%r12
jge    1150 <main+0x30>
mov    %r14,%rdi
mov    %r15,%rsi
mov    %rbx,%rdx
xor    %eax,%eax
call   1040 <scanf@plt>
mov    0x8(%rsp),%rax
mov    (%rsp),%rcx
cmp    %rcx,%rax
jl     11d0 <main+0xb0>
cmp    %rcx,%rax
jg     11ea <main+0xca>
cmp    %rcx,%rax
jne    1190 <main+0x70>
jmp    1200 <main+0xe0>
cs nopw 0x0(%rax,%rax,1)
nop
lea    0xe34(%rip),%rdi
call   1030 <puts@plt>
mov    0x8(%rsp),%rax
mov    (%rsp),%rcx
cmp    %rcx,%rax
jle    11be <main+0x9e>
mov    %r13,%rdi
call   1030 <puts@plt>
mov    0x8(%rsp),%rax
mov    (%rsp),%rcx
cmp    %rcx,%rax
jne    1190 <main+0x70>
mov    %rbp,%rdi
call   1030 <puts@plt>
jmp    1190 <main+0x70>

LLVM IR (-O0):
@.str = [4 x i8] c"%ld\00"
@.str.1 = [7 x i8] c"%ld%ld\00"
@.str.2 = [3 x i8] c"<\0A\00"
@.str.3 = [3 x i8] c">\0A\00"
@.str.4 = [3 x i8] c"=\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i64
%3 = alloca i64
%4 = alloca i64
%5 = alloca i64
store i32 0, i32* %1
%6 = call i32 (i8*, i64*, ...) @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i64* %3)
%7 = load i64, i64* %3
%8 = icmp slt i64 %7, 15
br i1 %8, label %9, label %38
9: ; preds = %0
store i64 1, i64* %2
br label %10
10: ; preds = %34, %9
%11 = load i64, i64* %2
%12 = load i64, i64* %3
%13 = icmp sle i64 %11, %12
br i1 %13, label %14, label %37
14: ; preds = %10
%15 = call i32 (i8*, i64*, ...) @scanf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i64* %4, i64* %5)
%16 = load i64, i64* %4
%17 = load i64, i64* %5
%18 = icmp slt i64 %16, %17
br i1 %18, label %19, label %21
19: ; preds = %14
%20 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0))
br label %21
21: ; preds = %19, %14
%22 = load i64, i64* %4
%23 = load i64, i64* %5
%24 = icmp sgt i64 %22, %23
br i1 %24, label %25, label %27
25: ; preds = %21
%26 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0))
br label %27
27: ; preds = %25, %21
%28 = load i64, i64* %4
%29 = load i64, i64* %5
%30 = icmp eq i64 %28, %29
br i1 %30, label %31, label %33
31: ; preds = %27
%32 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0))
br label %33
33: ; preds = %31, %27
br label %34
34: ; preds = %33
%35 = load i64, i64* %2
%36 = add nsw i64 %35, 1
store i64 %36, i64* %2
br label %10
37: ; preds = %10
br label %38
38: ; preds = %37, %0
ret i32 0
}

LLVM IR (-O2):
@.str = [4 x i8] c"%ld\00"
@.str.1 = [7 x i8] c"%ld%ld\00"
@str = [2 x i8] c"=\00"
@str.5 = [2 x i8] c">\00"
@str.6 = [2 x i8] c"<\00"
define i32 @main() {
%1 = alloca i64
%2 = alloca i64
%3 = alloca i64
%4 = bitcast i64* %1 to i8*
%5 = bitcast i64* %2 to i8*
%6 = bitcast i64* %3 to i8*
%7 = call i32 (i8*, i64*, ...) @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i64* %1)
%8 = load i64, i64* %1
%9 = add i64 %8, -15
%10 = icmp ult i64 %9, -14
br i1 %10, label %39, label %11
11: ; preds = %0, %35
%12 = phi i64 [ %36, %35 ], [ 1, %0 ]
%13 = call i32 (i8*, i64*, ...) @scanf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i64* %2, i64* %3)
%14 = load i64, i64* %2
%15 = load i64, i64* %3
%16 = icmp slt i64 %14, %15
br i1 %16, label %17, label %21
17: ; preds = %11
%18 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([2 x i8], [2 x i8]* @str.6, i64 0, i64 0))
%19 = load i64, i64* %2
%20 = load i64, i64* %3
br label %21
21: ; preds = %17, %11
%22 = phi i64 [ %20, %17 ], [ %15, %11 ]
%23 = phi i64 [ %19, %17 ], [ %14, %11 ]
%24 = icmp sgt i64 %23, %22
br i1 %24, label %25, label %29
25: ; preds = %21
%26 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([2 x i8], [2 x i8]* @str.5, i64 0, i64 0))
%27 = load i64, i64* %2
%28 = load i64, i64* %3
br label %29
29: ; preds = %25, %21
%30 = phi i64 [ %28, %25 ], [ %22, %21 ]
%31 = phi i64 [ %27, %25 ], [ %23, %21 ]
%32 = icmp eq i64 %31, %30
br i1 %32, label %33, label %35
33: ; preds = %29
%34 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([2 x i8], [2 x i8]* @str, i64 0, i64 0))
br label %35
35: ; preds = %29, %33
%36 = add nuw nsw i64 %12, 1
%37 = load i64, i64* %1
%38 = icmp slt i64 %12, %37
br i1 %38, label %11, label %39
39: ; preds = %35, %0
ret i32 0
}