13610 - DS_2022_Practice   

Description

In this practice, we want to find the maximum number, minimum number, and sum of the integer sequence.

Input

There are some integer numbers in line, separate by “ ”.

  • 1 ≤ number of integers ≤ 100,0000
  • -231 ≤ integer value ≤ 231

Output

Print the maximum number, minimum number, and sum of the sequence, separate them by “ ”.

Don’t forget to print “\n” in the end.

Sample Input  Download

Sample Output  Download

Tags




Discuss