PROGRAMMING:Advanced mathematics automorphic number
Definition: automorphic number is a natural number whose last bit of the square of a number is equal to the number itself.
Well, now you should have known the definition of automorphic number, let's program now! It is required to input a non negative integer n, and then output all automorphic numbers in n.
###Input format:
Enter an integer n
###Output format:
Output all automorphic numbers contained in N in one line
###Input example:
Here is a set of inputs. For example:
```in
one hundred thousand
```
###Output example:
The corresponding output is given here. For example:
```out
0 1 5 6 25 76 376 625 9376 90625
```
answer:If there is no answer, please comment
Well, now you should have known the definition of automorphic number, let's program now! It is required to input a non negative integer n, and then output all automorphic numbers in n.
###Input format:
Enter an integer n
###Output format:
Output all automorphic numbers contained in N in one line
###Input example:
Here is a set of inputs. For example:
```in
one hundred thousand
```
###Output example:
The corresponding output is given here. For example:
```out
0 1 5 6 25 76 376 625 9376 90625
```
answer:If there is no answer, please comment