#include<cstdio>

int main()
{
	int a[100], n;
	freopen("input.txt", "r", stdin);
	scanf("%d", &n);
	for(int i=1; i<=n; i++)
		scanf("%d", &a[i]);
	return 0;
}