eolymp
bolt
Try our new interface for solving problems
Problems

Three digit Armstrong numbers

Three digit Armstrong numbers

Time limit 1 second
Memory limit 128 MiB

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 data

Two integers a and b (100ab999).

Output data

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

Examples

Input example #1
100 400
Output example #1
153 370 371