Solve problem "The second maximum" online - Learn Python 3 - Snakify

# The second maximum

## Statement

The sequence consists of distinct positive integer numbers and ends with the number 0. Determine the value of the second largest element in this sequence. It is guaranteed that the sequence has at least two elements.

In all the problems input the data using input() and print the result using print().