#P285. 练46.4 第N个智慧数

练46.4 第N个智慧数

Description

A positive integer is called a "smart number" if it can be expressed as the difference of squares of two positive integers. For example, 1616 equals 52325^2 - 3^2, so 1616 is a smart number. In the sequence of natural numbers starting from 11, we number the "smart numbers" in ascending order as 11, 22, 33, ..., nn. Given a positive integer nn, output the nn-th "smart number".

Input Format

The input contains a single positive integer nn (1n1001≤n≤100).

Output Format

Output a single positive integer representing the nn-th "smart number".

Sample

3
7