{"trustable":true,"sections":[{"title":"","value":{"format":"HTML","content":"The input contains N natural (i.e. positive integer) numbers ( N \u0026lt;\u003d 10000 ). Each of that numbers is not greater than 15000. This numbers are not necessarily different (so it may happen that two or more of them will be equal). Your task is to choose a few of given numbers ( 1 \u0026lt;\u003d few \u0026lt;\u003d N ) so that the sum of chosen numbers is multiple for N (i.e. N * k \u003d (sum of chosen numbers) for some natural number k). "}},{"title":"Input","value":{"format":"HTML","content":"The first line of the input contains the single number N. Each of next N lines contains one number from the given set. "}},{"title":"Output","value":{"format":"HTML","content":"In case your program decides that the target set of numbers can not be found it should print to the output the single number 0. Otherwise it should print the number of the chosen numbers in the first line followed by the chosen numbers themselves (on a separate line each) in arbitrary order.\u003cbr\u003e\u003cbr\u003eIf there are more than one set of numbers with required properties you should print to the output only one (preferably your favorite) of them."}},{"title":"Sample","value":{"format":"HTML","content":"\u003ctable class\u003d\u0027vjudge_sample\u0027\u003e\n\u003cthead\u003e\n \u003ctr\u003e\n \u003cth\u003eInput\u003c/th\u003e\n \u003cth\u003eOutput\u003c/th\u003e\n \u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n \u003ctr\u003e\n \u003ctd\u003e\u003cpre\u003e5\r\n1\r\n2\r\n3\r\n4\r\n1\r\n\u003c/pre\u003e\u003c/td\u003e\n \u003ctd\u003e\u003cpre\u003e2\r\n2\r\n3\r\n\u003c/pre\u003e\u003c/td\u003e\n \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n"}}]}