#include <bits/stdc++.h>
using namespace std;
int main(){
	int n,i=0,a[1000000001];
	while(n){
		i++;
		cin>>a[i];
		
	}

	return 0;
}