Start 2024-01-24 16:30:00

冬令营基础班2024年1.24号 for循环结构

End 2024-01-24 17:30:00
Contest is over.
Now 2024-05-18 15:34:12

G. 水仙花数

Description

“水仙花数”是指一个三位数,其各位数字立方和等于该数本身。 例如153=1^3+5^3+3^3,是一个水仙花数。请输出1 000以内所有的“水仙花数”。

Input

无。

Output

输出1 000以内的“水仙花数”,每个数一行。

Examples

Input

Output


Submit

Login

Signup
Time Limit 1 second
Memory Limit 128 MB
Submit