Longge's problem
题号:NC51075
时间限制:C/C++/Rust/Pascal 1秒,其他语言2秒
空间限制:C/C++/Rust/Pascal 32 M,其他语言64 M
64bit IO Format: %lld

题目描述

Longge is good at mathematics and he likes to think about hard mathematical problems which will be solved by some graceful algorithms. Now a problem comes: Given an integer ,you are to calculate .
"Oh, I know, I know!" Longge shouts! But do you know? Please solve it.

输入描述:

Input contain several test case.
A number N per line.

输出描述:

For each N, output , , a line
示例1

输入

复制
2
6

输出

复制
3
15