Powerful Numbers


Submit solution

Points: 100
Time limit: 2.0s
Memory limit: 256M

Author:
Problem types

A positive integer is powerful if every prime dividing it also divides it at least twice. List all powerful numbers in \([a,b]\).

Input

One line containing \(a\) and \(b\).

The input satisfies:

  • \(1 \le a \le b \le 10^6\)

Output

Print the qualifying integers in increasing order, separated by single spaces.

Example

Input
1 10
Output
1 4 8 9

Comments

There are no comments at the moment.