Rosetta Problems

小杨的幸运数

https://www.acwing.com/problem/content/6240