Second Cheapest Present

Given a list of distinct prices, print the second cheapest one, formatted with two decimal places.

Easy2SortingImplementationInterviewNo attempts yetTime limit2sMemory limit512 MB

Problem

The Bloggs family get invited to birthday parties all the time, and they feel they have to buy a present for whoever invited them. The problem is that they do not have much money.

So the family settled on a rule. When they walk into a shop to buy a present, they never buy the cheapest item, because that would look mean. They buy the second cheapest gift they can find in that shop instead. Given the shop's list of prices, find the second cheapest price.

Input

The first line contains NN, the number of prices (2N1002 \le N \le 100).

Each of the next NN lines contains one price. A price is a decimal number written with two digits after the decimal point, and it carries no currency symbol. No price appears twice.

Output

Print the second lowest price on a line by itself. Use the same format as the input, with two digits after the decimal point.