PROGRAMMING:6-3 finding the maximum and its subscript
6-3 this problem requires programming to find out the maximum value of a given number of N and its corresponding minimum subscript (subscript starts from 0).
###Input format:
The input gives a positive integer n in the first line. Enter n integers in the second line, separated by spaces.
###Output format:
Output the maximum value and the minimum subscript of the maximum value in a row, separated by a comma.
###Input example:
Here is a set of inputs. For example:
```in
six
2 8 10 1 9 10
```
###Output example:
The corresponding output is given here. For example:
```out
10,2
```
answer:If there is no answer, please comment
###Input format:
The input gives a positive integer n in the first line. Enter n integers in the second line, separated by spaces.
###Output format:
Output the maximum value and the minimum subscript of the maximum value in a row, separated by a comma.
###Input example:
Here is a set of inputs. For example:
```in
six
2 8 10 1 9 10
```
###Output example:
The corresponding output is given here. For example:
```out
10,2
```
answer:If there is no answer, please comment