Problem B

Statement
Copy Copied
Description:
None

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

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

Note:
None