Three digit Armstrong numbers#84

Three digit Armstrong numbers

1 second
128 megabytes
Very easy (≈850)

Three digit number is called Armstrong number if the sum of cubes of its digits equals to the number. For example, 153 = 1^3 + 5^3 + 3^3 is an Armstrong number. Print all Armstrong numbers from a to b.

Input

Two integers a and b (100 ≤ a ≤ b ≤ 999).

Output

Print in one line all Armstrong numbers from a to b.

Examples

Example 1

Loading
Loading