{"trustable":true,"sections":[{"title":"","value":{"format":"HTML","content":"\u003cimg src\u003d\"CDN_BASE_URL/c9164f8dca0a3fdaba2273a4cc8eb372?v\u003d1714350908\" border\u003d\"0\" alt\u003d\"Problem illustration\" align\u003d\"RIGHT\" class\u003d\"problem_raimage\"\u003e\u003cdiv class\u003d\"problem_par\"\u003e\u003cdiv class\u003d\"problem_par_normal\"\u003eAt one of the contests at the Petrozavodsk Training Camp, players of \r\nthe Psych Up team quickly found the simple problem and Fedya sat at the \r\ncomputer. The solution was ready in five minutes. Without spending time \r\nfor testing, Fedya submitted it and in a few seconds got Time Limit \r\nExceeded. \u003c/div\u003e\u003c/div\u003e\u003cdiv class\u003d\"problem_par\"\u003e\u003cdiv class\u003d\"problem_par_normal\"\u003eFedya crumpled the problem statement and left the room slamming the \r\ndoor behind him. Things were going the wrong way and he needed to wind \r\ndown. On his way to the restroom Fedya heard a conversation of the contest \r\nauthors. Pasha was discussing with his friend the solution of the problem \r\nfor which Fedya had got TLE. Fedya could only discern the word \r\n“eigenvalues.” \u003c/div\u003e\u003c/div\u003e\u003cdiv class\u003d\"problem_par\"\u003e\u003cdiv class\u003d\"problem_par_normal\"\u003eFedya thought about it and decided that he, for sure, had his eigenvalues. \r\nFor example, the date of birth, the number of his apartment, the mark he \r\nhad got at the latest exam, or the number of travels to contests. But they \r\nhad a team contest, so what was their team\u0027s eigenvalue? Of course, a \r\nnumber was a team\u0027s eigenvalue if it was an eigenvalue for each of its \r\nplayers. With these joyful thoughts Fedya returned to the contest room. \u003c/div\u003e\u003c/div\u003e"}},{"title":"Input","value":{"format":"HTML","content":"\u003cdiv class\u003d\"problem_par\"\u003e\u003cdiv class\u003d\"problem_par_normal\"\u003eThe input data consist of three blocks two lines each. The first line of \r\neach block contains the number \u003ci\u003en\u003c/i\u003e of a player\u0027s eigenvalues \u003cnobr\u003e(1 ≤ \u003ci\u003en\u003c/i\u003e ≤ 4\u0026nbsp;000)\u003c/nobr\u003e. In the second line you are given \u003ci\u003en\u003c/i\u003e distinct integers in ascending order, which are the eigenvalues. All the eigenvalues are \r\npositive integers not exceeding\u0026nbsp;10\u003csup\u003e9\u003c/sup\u003e. \u003c/div\u003e\u003c/div\u003e"}},{"title":"Output","value":{"format":"HTML","content":"\u003cdiv class\u003d\"problem_par\"\u003e\u003cdiv class\u003d\"problem_par_normal\"\u003eOutput the number of eigenvalues of the Psych Up team.\u003c/div\u003e\u003c/div\u003e"}},{"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\n13 20 22 43 146\r\n4\r\n13 22 43 146\r\n5\r\n13 43 67 89 146\r\n\u003c/pre\u003e\u003c/td\u003e\n \u003ctd\u003e\u003cpre\u003e3\r\n\u003c/pre\u003e\u003c/td\u003e\n \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n"}}]}