The most round number#441

The most round number

1 секунда
64 мегабајта
Врло лако

A number is said to be more round than another if it has more trailing zeros. If two numbers have the same number of trailing zeros, the smaller number is considered more round.

Улаз

The first line contains the integer (1 \leq N \leq 100), the number of integers. Each of the next lines contains one integer from to 10^9.

Излаз

Print the most round number among the given numbers.

Примери

Пример 1

Loading
Loading