{"trustable":false,"prependHtml":"\u003cscript\u003e window.katexOptions \u003d { disable: true }; \u003c/script\u003e\n\u003cscript type\u003d\"text/x-mathjax-config\"\u003e\n MathJax.Hub.Config({\n tex2jax: {\n inlineMath: [[\u0027$$$\u0027,\u0027$$$\u0027], [\u0027$\u0027,\u0027$\u0027]],\n displayMath: [[\u0027$$$$$$\u0027,\u0027$$$$$$\u0027], [\u0027$$\u0027,\u0027$$\u0027]]\n }\n });\n\u003c/script\u003e\n\u003cscript async src\u003d\"https://mathjax.codeforces.org/MathJax.js?config\u003dTeX-AMS-MML_HTMLorMML\" type\u003d\"text/javascript\"\u003e\u003c/script\u003e","sections":[{"title":"题目描述","value":{"format":"PLAIN","content":"给你n个数字,请你找出出现至少(n+1)/2次的数字。"}},{"title":"输入","value":{"format":"PLAIN","content":"本题包含多组数据,请处理到EOF:\n每组数据包含两行。 \n第一行一个数字N(1\u003c\u003dN\u003c\u003d999999) ,保证N为奇数。 \n第二行为N个用空格隔开的整数。"}},{"title":"输出","value":{"format":"PLAIN","content":"对于每组数据,输出一行,表示要求找到的那个数"}},{"title":"样例输入","value":{"format":"PLAIN","content":"5\n1 3 2 3 3\n11\n1 1 1 1 1 5 5 5 5 5 5\n7\n1 1 1 1 1 1 1"}},{"title":"样例输出","value":{"format":"PLAIN","content":"3\n5\n1"}}]}