Representable with sum of squares#8671

Representable with sum of squares

1 second
128 megabytes
Very easy

Find all numbers from to that can be represented as the sum of two squares of different positive integers.

Input

One positive integer (n \leq 10000).

Output

Print in one line, in increasing order, all numbers from to that can be represented as the sum of two squares of different positive integers.

Examples

Example 1

Loading
Loading