BlueBook
Write a program that will find all the three-digit natural numbers that are equal to the sum of the cubes of their digits. The range of numbers will be . The input will be two numbers: and where is the lesser 3 digit number and is the greater 3 digit number.
Sample Input
100 200
Sample Output
153
Explanation for Sample Output
For example, the number should be outputted.
Comments
If there are multiple answers, separate them with a newline (
'\n'
in most languages).