Problem: 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

Solution (in PYTHON):

Solution:
__author__ = 'root'

# def solve(n):
#     count = 0
#     for i in xrange(1, n):
#         if i%3== 0 or i % 5 == 0:
#             count += i
#     return count

def summ(x):
    return (x * (x + 1))/2

n = input()
count = 0
x = (n-1)/5
y = summ(x)
y *= 5
count += y
x = (n-1)/3
y = summ(x)
y *= 3
count += y

#print count
to_ded  = (n-1)/15
print (count - (summ(to_ded) * 15))
# 
# print solve(n)