Problem2785--循环基本练习 - 1周步数 (仅一周)

2785: 循环基本练习 - 1周步数 (仅一周)

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

Description

小明记录了过去一周共7天里每天的步数,请帮小明计算一下,他过去一周里一共走了多少步。
假定,小明每天的步数不会超过20000步

Input

一行,共7个正整数,第i个整数表示小明在第i天里走的步数

Output

一个整数,表示小明在过去的7天里一共走的步数

Sample Input Copy

100 2000 358 8976 10003 8765 12345

Sample Output Copy

42547

Source/Category

循环