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