3182: 【基础题】最大最小数
          Memory Limit:128 MB
          Time Limit:1.000 S
         
      
      
        
          Judge Style:Text Compare
          Creator:
      
      
          Submit:47
          Solved:38
      
Description
上机练习4.1.4 输入10个整数,求10个数中的最大值和最小值。
	
Input
一行10个整数。
	
Output
最大数和最小数,中间用一个空格分隔。
	
Sample Input Copy
1 3 5 2 10 7 6 9 4 8
Sample Output Copy
10 1