#include<bits/stdc++.h> 
using namespace std;
int x,z;
int y=(int)sqrt(x);
int main(){
	cin>>x;
	for(int i=1;i<=x;i++){
		cin>>z
	}
	return 0;
}