{"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":"MD","content":"give you N integers which include a SP number.The SP number appears at least (N+1)/2 times.\nSo can you find the SP number?"}},{"title":"Input","value":{"format":"MD","content":"The input contains several test cases. Each test case contains two lines.\nThe first line of input contains an odd integer N(1\u003c\u003dN\u003c\u003d999999) indicating the number of integers.\nThe second line contains the N integers. The input is terminated by the end of file."}},{"title":"Output","value":{"format":"MD","content":"For each test case, you have to output only one line which contains the SP number you have found.\n"}},{"title":"Sample Input","value":{"format":"MD","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":"Sample Output","value":{"format":"MD","content":"3\n5\n1"}}]}