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

#846. Harshad number

A number that can be divided by the sum of its digits. `Yes`/`No`. ### Input One integer n (1 ≤ n ≤ 10⁹). ### Output Answer.

Examples

Input
1729
Output
Yes
Input
14316485
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!