1.

/**
* FWP, Ausgewählte Probleme aus dem ACM Programming Contest, WS09
* Problem: 11172 Relational Operator
* Link: http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=23&page=show_problem&problem=2113
*
* @author Kratzer Kevin
* @version 1.0, 10/07/2009
*
* Method : Ad-Hoc
* Status : Accepted
* Runtime: 0.100
*/



import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;



public class Main {

protected final BufferedReader input;
public Main11172() {
input = new BufferedReader(new InputStreamReader(System.in));
}

void process() throws IOException {
String line = input.readLine();
int amount = Integer.parseInt(line);
for(int i=0;i < amount;i++) {
line = input.readLine();
String[] args = line.split(" ");
int one = Integer.parseInt(args[0]);
int two = Integer.parseInt(args[1]);
if(one == two) {
System.out.println("=");
} else if(one < two) {
System.out.println("<");
} else if(one > two) {
System.out.println(">");
}
System.out.flush();
}

}

public static void main(String... args) throws Exception {
new Main11172().process();
}
}



2.


/**
* FWP, Ausgewählte Probleme aus dem ACM Programming Contest, WS09
* Problem: 11172 Relational Operator
* Link: http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=23&page=show_problem&problem=2113
*
* @author Christoph Hausmann
* @version 0.1, 10/7/2009
*
* Method : Ad-Hoc
* Status : Accepted
* Runtime: 0.076
*/

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;


public class RelationalOperator_11172 {
public static void main(String... args) throws NumberFormatException, IOException {
final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

int t = Integer.parseInt(br.readLine());

while(t > 0) {
t--;

final String[] numStrings = br.readLine().split(" ");
final int num1 = Integer.parseInt(numStrings[0]);
final int num2 = Integer.parseInt(numStrings[1]);

if(num1 > num2)
System.out.println(">");
else if(num1 < num2)
System.out.println("<");
else
System.out.println("=");
}
}
}

3.

/**
* FWP, Ausgewhlte Probleme aus dem ACM Programming Contest, WS09
* Problem: 11172 Relational Operator
* Link: http://uva.onlinejudge.org/index.php?option=onlinejudge&Itemid=99999999&category=23&page=show_problem&problem=2113
*
* @author Stefan Gohlke
* @version 1.0, 10/07/2009
*
* Method : Ad-Hoc
* Status : Accepted
* Runtime: 0.116
*/

package relation_acc;

import java.util.Scanner;

public class Main {

public static void main (String[] args)
{
relationalOperator();
}

public static void relationalOperator()
{
Scanner scanner = new Scanner(System.in);
int anzahlSets = 0;
int zahl1 = 0;
int zahl2 = 0;

anzahlSets = scanner.nextInt();

while (anzahlSets > 0)
{
zahl1 = scanner.nextInt();
zahl2 = scanner.nextInt();

if (zahl1 < zahl2)
{
System.out.println("<");
}
else if (zahl1 > zahl2)
{
System.out.println(">");
}
else
{
System.out.println("=");
}
anzahlSets--;
}

}
}