T392144 水仙花数2.0

题目背景

[水仙花数](https://www.luogu.com.cn/problem/T392143)|水仙花数2.0|[水仙花数3.0](https://www.luogu.com.cn/problem/T392145) [水仙花数题单](https://www.luogu.com.cn/training/370192) 上次做了个[水仙花数](https://www.luogu.com.cn/problem/U334077),但可以偷鸡(单纯写个输出就好了),这次就写了个 2.0。

题目描述

在自然数中,如果一个三位数等于自身各位数字之立方和,则这个三位数就称为是水仙花数。 如:$153=1+125+27$,所以$153$是一个水仙花数。 输入一个整数n,判断这个数是否为水仙花数。如果是,输出“yes”;如果不是,输出“no”。

输入格式

一行,一个整数。

输出格式

一行,“yes”或“no”。

说明/提示

对输入的整数$n$保证 $100≤n≤999$。 不会做请看这里:[题解](https://www.luogu.com.cn/paste/s0vhsvev)。