Problem GF: 期末测试003--水仙花数

Problem GF: 期末测试003--水仙花数

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MB

SubmitProblemList

Description

若一个三位数ABC=A3+B3+C3,那么我们称之为水仙花数。

Input

一个三位数。

Output

如果这个数是水仙花数,那么输出1;否则输出0。

Sample Input Copy

153

Sample Output Copy

1