#P2375. chopsticks

chopsticks

题目描述

You have a lot of chopsticks, but the strange thing is that these chopsticks are only an odd number, and the length is different, for example, you have 5 chopsticks, the length is 2, 3, 3, 2, 5, if you want to put together a set of chopsticks, you need to add a chopstick with a length of 5, so now you need to find out what the length of the chopsticks we need is what the length is

输入格式

The first line is entered with a number n representing your test data, and the second line requires a total of n digits you need to enter

输出格式

The length of the chopsticks you need

样例

5 
2 3 3 2 5
5
10 
9 8 7 3 7 2 1 1 2 9 8
3

提示

This question is very simple, inspired by the above question in Luo Gu. This question may be the most prone to memory beyond the limit

By TOP