You have a sequence of integer numbers that ends with 0. Find the largest element of this sequence.
0 is not included in the sequence. It serves only as a sign of the sequence end.
You have a sequence of integer numbers that ends with 0. Find the largest element of this sequence.
0 is not included in the sequence. It serves only as a sign of the sequence end.
Sample Input 1:
1
7
9
0Sample Output 1:
9Create a free account to access the full topic