1690: 最大的数及最小的数

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:4 Solved:3

Description

第一行输入n,第二行输入n个数,并用数组保存这些数,找出该数组中最大的数及最小的数并输出。(序号)



Input



Output



Sample Input Copy

10

4  6  9  23  45  5  90  123  3  88

Sample Output Copy

max=123

min=3

Source/Category