{"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":"HTML","content":"\u003cdiv\u003e\n \"OK, you are not too bad, em... But you can never pass the next test.\" \n \u003cspan\u003efeng5166\u003c/span\u003e says.\n \u003cbr\u003e \n \u003cbr\u003e \"I will tell you an odd number N, and then N integers. There will be a special integer among them, you have to tell me which integer is the special one after I tell you all the integers.\" \n \u003cspan\u003efeng5166\u003c/span\u003e says.\n \u003cbr\u003e \n \u003cbr\u003e \"But what is the characteristic of the special integer?\" Ignatius asks.\n \u003cbr\u003e \n \u003cbr\u003e \"The integer will appear at least (N+1)/2 times. If you can\u0027t find the right integer, I will kill the Princess, and you will be my dinner, too. \n \u003cspan\u003eHahahaha\u003c/span\u003e.....\" \n \u003cspan\u003efeng5166\u003c/span\u003e says.\n \u003cbr\u003e \n \u003cbr\u003e Can you find the special integer for Ignatius?\n\u003c/div\u003e"}},{"title":"Input","value":{"format":"HTML","content":"\u003cdiv\u003e\n The input contains several test cases. Each test case contains two lines. The first line consists of an odd integer N(1\u0026lt;\u003dN\u0026lt;\u003d999999) which indicate the number of the integers \n \u003cspan\u003efeng5166\u003c/span\u003e will tell our hero. The second line contains the N integers. The input is terminated by the end of file.\n\u003c/div\u003e"}},{"title":"Output","value":{"format":"HTML","content":"\u003cdiv\u003e\n For each test case, you have to output only one line which contains the special number you have found.\n\u003c/div\u003e"}},{"title":"Sample Input","value":{"format":"HTML","content":"\u003cdiv\u003e \n \u003cpre\u003e\r\n\t\u003c/pre\u003e \n \u003cdiv\u003e \n \u003cpre\u003e\r\n\t\t5\r\n1 3 2 3 3\r\n11\r\n1 1 1 1 1 5 5 5 5 5 5\r\n7\r\n1 1 1 1 1 1 1 \u003c/pre\u003e \n \u003c/div\u003e \n\u003c/div\u003e"}},{"title":"Sample Output","value":{"format":"HTML","content":"\u003cdiv\u003e \n \u003cpre\u003e\r\n\t\u003c/pre\u003e \n \u003cdiv\u003e \n \u003cpre\u003e\r\n\t\t3\r\n5\r\n1 \u003c/pre\u003e \n \u003c/div\u003e \n\u003c/div\u003e"}},{"title":"Hint","value":{"format":"HTML","content":"\u003cbr\u003e"}}]}