#include constexpr char lt = 60; constexpr char gt = 62; int main() { int n; std::scanf("%d", &n); while (n--) { int a, b; std::scanf("%d %d", &a, &b); if (a == b) { std::putchar('='); } else if (std::min(a - b, 0) == 0) { std::putchar(gt); } else { std::putchar(lt); } std::putchar('\n'); } return 0; }