#P1018. 基础数学题目4

基础数学题目4

Description

Please calculate the sum of integers divided by three in less than nn.

Input Format

One integer nn.

Output Format

One integer

6
9

Limit and hint

For 100%100\% testcases, n105 n\leq10^5.