#P171B. Star

    ID: 2343 Type: RemoteJudge 2000ms 256MiB Tried: 0 Accepted: 0 Difficulty: (None) Uploaded By: Tags>*special problemcombinatorics*1300

Star

No submission language available for this problem.

Description

The input contains a single integer a (1 ≤ a ≤ 18257).

Print a single integer output (1 ≤ output ≤ 2·109).

Input

The input contains a single integer a (1 ≤ a ≤ 18257).

Output

Print a single integer output (1 ≤ output ≤ 2·109).

Samples

2

13