#include using namespace std; int main() { int t; long long a, b; cin >> t; while (t--) { cin >> a >> b; if (a < b) cout << "<"; else if (a > b) cout << ">"; else cout << "="; cout << endl; } return 0; }