#define NOMINMAX #define TEST_MODE true #define _CRT_SECURE_NO_WARNINGS #define _USE_MATH_DEFINES #include "bits/stdc++.h" int N; void out(int v) { char c = (char)v; printf("%c\n", c); } using namespace std; signed main() { scanf("%d", &N); //fprintf(stderr, "%d\n", N); for (int i = 0; i != N; i += 1) { int a, b; scanf("%d %d", &a, &b); int c = a - b; string s = to_string(c); if (s[0] == '0') out(61); else if (s[0] == '-') out(60); else out(62); } return 0; }