function main(input){

	input=inpu.split("\n");
	var num = parseInt(data[0]);
	var array = input[1].split(" ").map(
		function(v){
			return parseInt(v);
		}
		);
	

}

main(require("fs").readFileSync("/dev/stdin", "utf8"));