#P130A. Hexagonal numbers

    ID: 6596 远端评测题 2000ms 64MiB 尝试: 0 已通过: 0 难度: (无) 上传者: 标签>*special problemimplementation*900

Hexagonal numbers

本题没有可用的提交语言。

Description

Hexagonal numbers are figurate numbers which can be calculated using the formula hn = 2n2 - n. You are given n; calculate n-th hexagonal number.

The only line of input contains an integer n (1 ≤ n ≤ 100).

Output the n-th hexagonal number.

Input

The only line of input contains an integer n (1 ≤ n ≤ 100).

Output

Output the n-th hexagonal number.

Samples

2

6

5

45