#845. Happy number
Keep replacing the number with the sum of the squares of its digits. If you reach 1, it is a happy number. `Yes`/`No`.
### Input
One integer n (1 ≤ n ≤ 10⁹).
### Output
Answer.
Examples
Input
7
Output
Yes
Input
75136092
Output
No
💡 You can solve it with Python, JavaScript or blocks. Read the input line by line with input(). Don't print a question (like input("Number: ")). Print exactly what the output asks for, nothing more.