Problem E: for循环专题---倍数求和

Problem E: for循环专题---倍数求和

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 529  Solved: 443
[Status] [Submit] [Creator:]

Description

输入一个整数n,求出 1到n之间能被7整除的数的和。

Input

一个正整数n(0<n<=100)

Output

一个正整数,为符合要求的数的和

Sample Input Copy

14

Sample Output Copy

21