CodeLab Academy 📞 9936 6696
← List Python · Level 9: Functions and dicts Code · 90 points ← #847 #849 →

#848. Automorphic number

A number whose square ends with the number itself (example: 25² = 625). `Yes`/`No`. ### Input One integer n (1 ≤ n ≤ 10⁶). ### Output Answer.

Examples

Input
915746
Output
No
Input
650760
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.

🔒 You can solve the first 3 problems without an account. Sign up for free to solve this one!