Easy Integration
时间限制:C/C++/Rust/Pascal 1秒,其他语言2秒
空间限制:C/C++/Rust/Pascal 256 M,其他语言512 M
64bit IO Format: %lld

题目描述

Given n, find the value of  
It can be proved that the value is a rational number .
Print the result as .

输入描述:

The input consists of several test cases and is terminated by end-of-file.

Each test case contains an integer n.

*
* The number of test cases does not exceed .

输出描述:

For each test case, print an integer which denotes the result.
示例1

输入

复制
1
2
3

输出

复制
166374059
432572553
591816295

说明

        

备注:

For n = 1,