B. Three Integers

传统 1000 ms 256 MiB
标准 IO
文本比较

题目描述

给定三个互不相同的整数,请计算并输出它们的和、平均值、乘积、最小值和最大值。

注意: 平均值直接做整数除法(默认向零取整)。

输入格式

一行,三个用空格分隔的整数 a, b, c (−10^2 ≤ a, b, c ≤ 10^2)。

输出格式

五行,每行格式如下:

Input three different integers: Sum is X
Average is X
Product is X
Smallest is X
Largest is X

样例

样例输入1

13 27 14

样例输出1

Input three different integers: Sum is 54
Average is 18
Product is 4914
Smallest is 13
Largest is 27

样例输入2

53 -90 -30

样例输出2

Input three different integers: Sum is -67
Average is -22
Product is 143100
Smallest is -90
Largest is 53