Problem D: 和差应用

Problem D: 和差应用

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MiB

Description

两数之和是 a,差是 b,求两数

例如

两数之和是56,差是12,求两数

较大数 = (56 + 12)÷ 2 = 34

较小数 = (56 - 12)÷ 2 = 22

Input

56 12

Output

较大数 = 34 

较小数 = 22

Sample Input Copy

48 10

Sample Output Copy

较大数 = 29
较小数 = 19