/* 1021
# include <stdio.h>
int main()
{
int arr[1001]={};
int n,i,j;
scanf("%d",&n);
for(i=1;i<=n;i++){
scanf("%d",&arr[i]);
}
for(i=1;i<=n;i++){
printf("%d: ",i);
for(j=1;j<=n;j++){
if(i==j) continue;
if(arr[i]<arr[j]){
printf("< ");
}
if(arr[i]>arr[j]){
printf("> ");
}
if(arr[i]==arr[j]){
printf("= ");
}
}
printf("\n");
}
}
*/
/*
# include <stdio.h>
int main()
{
int arr[11]={};
int n,i,k;
for(i=1;i<=10;i++){
scanf("%d",&arr[i]);
}
scanf("%d",&n);
printf("%d",arr[n]);
return 0;
}
*/
/*
# include <stdio.h>
int main()
{
int arr[10001]={};
int n,i;
scanf("%d",&n);
for(i=1;i<=n;i++){
scanf("%d",&arr[i]);
}
for(i=n;i>=1;i--){
printf("%d ",arr[i]);
}
return 0;
}
*/
/*
# include <stdio.h>
int main()
{
int arr[1000]={};
int n,i,j;
scanf("%d",&n);
for(i=1;i<=n;i++){
scanf("%d",&arr[i]);
}
for(i=1;i<=n;i++){
for(j=i;j<=n;j++){
printf("%d ",arr[j]);
}
for(j=1;j<=i-1;j++){
printf("%d ",arr[j]);
}
printf("\n");
}
}
*/