PROGRAMMING:Find the maximum value and the second maximum value
Write programs, output by the user input n integers (n < = 20) in the maximum and sub maximum
###Input format:
Enter the value of N, and then enter n (n < = 20) integers separated by spaces.
###Output format:
Output the maximum and submaximal values in the form of "max = maximum, Cmax = submaximal"
###Input example:
Here is a set of inputs. For example:
```in
ten
139 320 208 508 351 253 826 781 175 938
```
###Output example:
The corresponding output is given here. For example:
```out
max=938,cmax=826
```
answer:If there is no answer, please comment
###Input format:
Enter the value of N, and then enter n (n < = 20) integers separated by spaces.
###Output format:
Output the maximum and submaximal values in the form of "max = maximum, Cmax = submaximal"
###Input example:
Here is a set of inputs. For example:
```in
ten
139 320 208 508 351 253 826 781 175 938
```
###Output example:
The corresponding output is given here. For example:
```out
max=938,cmax=826
```
answer:If there is no answer, please comment