#P203. 练33.3 水仙花数
练33.3 水仙花数
Description
After learning about "Narcissistic numbers" in class, Nick wanted to find all such numbers but didn't have enough time to do so. Please write a program to find all "Narcissistic numbers".
Note: A three-digit number is a "Narcissistic number" if it equals the sum of the cubes of its digits.
Input Format
None
Output Format
A single line containing all "Narcissistic numbers", separated by spaces.
Sample
None153 370 371 407