Description: In this problem, you are given n integers. Your task is to find the maximal value of them.
Input may contains several test cases. For each test case, the first line contains an integer, indicating n (1<=n<=10,000).In the second line there are n integers, which absolute values are less than 10^9.A case with n=0 indicates the end of input, which should not be processed.
For each test case, you should output the maximal value in a single line.
To Search:
File list (Check if you may need any files):
1380.cpp