/*
import java.util.*;
//함수 == 메소드
// ctrl + space (자동완성)
// compile ctrl + f11
// syso + 자동완성 (출력)
public class Main {
public static void main(String[] args) {
// 기본 자료형
// int a=10;
// long b=100; // not long long int
// float c;
// double d;
// char f;
// boolean e; // true or false
// String str="hello";
// System.out.print(str);
// System.out.println(str);
// System.out.println("문자열은"+str+"입니다.");
// System.out.println(a+" 입니다");
// System.out.println(a+" "+b);
// 산술연산자 : + - * / %
// 비교연산자 : > < >= <= == !=
// 논리연산자 : ! && || 비트논리연산자 : ~ & |
// System.out.println(a*b);
// 조건문 if-else switch-case
// 반복문 for, while, do-while
// while(true) {
//
//// }
// if(){
// }
// int a[5] //(x)
// int[] arr1; // 배열의 주소값을 저장하는 레퍼런스변수 생성
// arr1 = new int[5]; // 실제 배열 생성
//
// int[] arr = new int [a];
// int[] arr2 = {1,2,3,4,5};
//
// for(int i=0;i<arr2.length;i++) {
// System.out.print(arr2[i]+" ");
// }
//
// int[][] arr3 = new int[a][a];
// int[][] arr4 = {{1,2,3},{4,5,6}};
///////////////////////////////////
// 1. 스캐너 객체 생성
Scanner sc = new Scanner(System.in);
// int a = sc.nextInt();
// System.out.println(a);
// float b = sc.nextFloat();
// System.out.println(b);
//String s = sc.next(); //공백 x
//String s = sc.nextLine(); // 공백 o
// System.out.println(s);
// System.out.println("length : " + s.length());
// System.out.println(s.charAt(0));
// char[] arr = s.toCharArray(); // string -> char arr
// System.out.println(arr[0]);
//System.out.println(s.compareTo("jello world")); // 문자열의 사전식비교
//if(s=="hello") (x)
// if(s.equals("hello")) { //문자열끼리 비교시 == 불가능 !!
// System.out.println("same");
// }
//String s1 = s.replace('h', 'e');
//String s1 = s.toUpperCase();
//String s1 = s.toLowerCase();
// String s = "hello,world hi,hi hello,hihi";
// String[] s1 = s.split(",");
// for(int i=0; i<s1.length;i++) {
// System.out.println(s1[i]);
// }
}
}
a,b, c
a+b>c
b+c>a
a+c>b
*/
/*
import java.util.*;
class Main{
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
int c = sc.nextInt();
if(a>b&&a>c) {
if(a<b+c) {
System.out.println("yes");
}
else {
System.out.println("no");
}
}
else if(b>c&&b>a) {
if(b<a+c) {
System.out.println("yes");
}
else {
System.out.println("no");
}
}
else {
if(c<a+b) {
System.out.println("yes");
}
else {
System.out.println("no");
}
}
}
}
*/
/*
import java.util.*;
class Main{
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
int c = sc.nextInt();
if(c<a+b) {
if(a==b&&b==c) {
System.out.println("정삼각형");
}
else if(a==b||a==c||b==c) {
System.out.println("이등변삼각형");
}
else if((a*a)+(b*b)==(c*c)) {
System.out.println("직각삼각형");
}
else if(c<a+b) {
System.out.println("삼각형");
}
}
else {
System.out.println("삼각형아님");
}
}
}
*/
/*
import java.util.*;
class Main{
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
int c = sc.nextInt();
int t = 170;
if(a<=t) {
System.out.println("CRASH"+" "+a);
}
if(a>t&&b<=t) {
System.out.println("CRASH"+" "+b);
}
if(a>t&&b>t&&c<=t) {
System.out.println("CRASH"+" "+c);
}
if(a>t&&b>t&&c>t) {
System.out.println("PASS");
}
}
}
*/
/*
import java.util.*;
class Main{
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
for(int i=1; i<=a;i++) {
System.out.print(i+" ");
}
}
}
*/
/*
import java.util.*;
class Main{
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
for(int i=a;i<=b;i++) {
if(i%2==1) {
System.out.print(i+" ");
}
}
}
}
*/
/*
import java.util.*;
class Main{
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int t=1;
for(int i=a;i>0;i--) {
t=t*i;
}
System.out.println(t);
}
}
*/
/*
import java.util.*;
class Main{
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
int t = 0;
for(int i=a;i<=b;i++) {
if(i%2==1) {
t = t+i;
}
else {
t = t-i;
}
}
System.out.println(t);
}
}
*/
/*
import java.util.*;
class Main{
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
for(int i=0;i<a;i++) {
for(int f=0;f<i;f++) {
System.out.print(" ");
}
for(int f=a;f>i;f--) {
System.out.print("*");
}
System.out.println();
}
}
}
*/
/*
import java.util.*;
class Main{
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
for(int i=0;i<a;i++) {
for(int f=a-1;f>i;f--) {
System.out.print(" ");
}
for(int f=0;f<a;f++) {
System.out.print("*");
}
System.out.println();
}
}
}
0 1 2 3 4 5 6 7 8 9 10
0 1 2 3 4 0 1 2 3 4 0 1 2 3 4
*/
/*
import java.util.*;
class Main{
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int arr[] = new int[a];
for(int i=0;i<a;i++) {
arr[i] = sc.nextInt();
}
for(int i=0;i<a;i++) {
for(int f=i;f<i+a;f++) {
System.out.print(arr[f%a]+" ");
}
System.out.println();
}
}
}
*/
/*
import java.util.*;
class Main{
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String s = sc.next();
char[] arr = s.toCharArray();
int a=0,b=0;
for(int i=0;i<arr.length;i++) {
if(arr[i]=='(') {
a++;
}
else {
b++;
}
}
System.out.println(a+" "+b);
}
}
*/
import java.util.*;
class Main{
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int arr[] = new int[a];
for(int i=0;i<a;i++) {
arr[i] = sc.nextInt();
}
for(int i=0;i<a;i++) {
System.out.print(i+1+": ");
for(int f=0;f<a;f++) {
if(i!=f) {
if(arr[i]<arr[f]) {
System.out.print("< ");
}
else if(arr[i]==arr[f]) {
System.out.print("= ");
}
else {
System.out.print("> ");
}
}
}
System.out.println();
}
}
}