#BS0000016. Bảng nhân (Multiplication Table)

Bảng nhân (Multiplication Table)

Multiplication Table

Source: CSES

Version: Phuoc Hung OJ Extended

Problem Statement

Consider an n×nn\times n multiplication table. For 1≤i,j≤n1\le i,j\le n, the value in row ii and column jj is

Hi,j=i⋅j.H_{i,j}=i\cdot j.

The integer nn is odd. Take all n2n^2 table values with multiplicity, sort them in non-decreasing order, and find the middle element. Its 1-based rank is

k=n2+12.k=\frac{n^2+1}{2}.

Input

One line contains odd nn.

Output

Print the middle value.

Subtasks

  • Subtask 1 — 20%: n≤101n\le101.
  • Subtask 2 — 30%: n≤10001n\le10001.
  • Subtask 3 — 50%: 1≤n<1061\le n<10^6, nn odd.

Examples

Input

3

Output

3

Explanation

For n=3n=3 the table is

123246369\begin{matrix} 1&2&3\\ 2&4&6\\ 3&6&9 \end{matrix}

The sorted values are 1,2,2,3,3,4,6,6,91,2,2,3,3,4,6,6,9, so the middle value is 33.