Given a natural number a.
Write a program that finds the sum of all integers from 1 to a that end in 3
Input:
The first line contains a natural number a (a, a modulo no more than 100)
Output:
The program should print a single number - the sum of all integers from 1 to a ending in 3
Example