/*
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int a=in.nextInt();
int b=in.nextInt();
System.out.println((float)a*b/2);
}
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int n = in.nextInt();
int i,j;
int arr[] = new int[n];
for(i=0;i<n;i++) {
arr[i] = in.nextInt();
}
for(i=0;i<n;i++) {
{
for(j=i;j<n;j++) {
System.out.print(arr[j]+" ");
}
for(j=0;j<i;j++) {
System.out.print(arr[j]+" ");
}
System.out.println();
}
}
}
}
*/
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
}
}