CSG-CPC
Online Judge

1287 : 对两个区间分别求和

         Time Limit: 1 Sec     Memory Limit: 128 Mb     Submitted: 73     Solved: 61    

Description

对两个区间分别求和

Input

给出四个非负整数 \(a_{1}\leq b_{1}, a_{2}\leq b_{2}\),所有数不大于\(100\).

Output

两行分别输出 \(a_{1}\sim b_{1}\)\(a_{2}\sim b_{2}\) 的和.

Sample

1 10 5 20
##CASE##
2 5 8 9
55
200

##CASE##
14
17

Hint

Author

CSGrandeur