Given a sequence of positive integer numbers (which ends with the number 0). Find the largest element of the sequence.
The number 0 itself is not included in the sequence but serves only as a sign of the sequence’s end.
Given a sequence of positive integer numbers (which ends with the number 0). Find the largest element of the sequence.
The number 0 itself is not included in the sequence but serves only as a sign of the sequence’s end.
Sample Input 1:
1
7
9
0Sample Output 1:
9Create a free account to access the full topic