Consider a permutation of numbers from to . We call it a quadratic permutation if, for each element, the sum of the element and the element that replaces it in the permutation is a perfect square. More precisely, a quadratic permutation is defined as a bijection of the set of integers \{ a, a+1, \ldots, b \} onto itself, such that for any integer , the condition i + p(i) = j^2 holds for some integer . Given and , your task is to find a quadratic permutation.
Constraints
, are integers.
0 \leq a \leq 100
0 \leq b \leq 100000
a \leq b
The input consists of a single line containing the integers and .
Output b - a + 1 numbers that represent the values of for all from to , where is a quadratic permutation. If no such permutation exists for the given and , output a single number .
Esempio 1