Given the number N.
N numbers are input.
It is necessary to display the position of the minimum and maximum numbers among all numbers.
Input:
in the first line the number N is entered - the number of numbers (N <= 100)
then there are N numbers, one per line (all numbers are integers not exceeding 10,000 in absolute value)
Output:
output two numbers with a space, first the position number of the minimum number, then after 1 space, the position number of the maximum number.
Example:
Input:
5
-2
1
2
3
0
Output:
1 4
With difficulties:
The theoretical card contains a hint.
Запрещенные операторы:min;max;[;sort