1973: Find the middle number

内存限制:128 MB 时间限制:1.000 S
评测方式:文本比较 命题人:
提交:19 解决:7

题目描述

there are three integers,please output the middle number.

for example,9,10,6,the middle number is 9,its index is 0

输入

there are many lines,input three integers

输出

output the middle number and its index

样例输入 复制

7 9 8
10 20 40
80 70 50
80 50 70

样例输出 复制

8 2
20 1
70 1
70 2