Олимпиадный тренинг

Задача 7132. From a to b. Task 6


Задача

Темы: Цикл for
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

Enter

Output

25
39