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