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