P9848 [HackerEarth] hit me baby one more time
普及
题目描述

The Enigma crew came to know some of the location where the bombs are planted. So they started to find the code through which they can diffuse the bombs .Each bomb has different code for diffusion. The crew found the solution the diffusion code is between the ranges 1 to N-1 where N is the integer value. The summation of the multiple of 3 or 5 within the range give the diffusion code.

Input Format
It contain the integer N.

Output Format
Print an integer that denotes the sum of all the multiples of 3 or 5 below N.

Constraints
1 ≤ N ≤ 10000000000

SAMPLE INPUT
10

SAMPLE OUTPUT
23

输入格式

见题面

输出格式

见题面

样例输入
10 SAMPLE
样例输出
23