Write a program to read a sequence of negative integers, one per line, and print the maximal value of this list. End of data will be signaled by typing a value of 0
For example if the data consists of
-3
-17
-2
-35
-9
0
then the output should be
The largest value is: -2