Created
June 23, 2018 14:15
-
-
Save showyou/e1f539152567bbbbb4af8580da7d03dd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
N = input() | |
S = 0 | |
for i in N: | |
S += int(i) | |
if int(N) % S == 0: | |
print("Yes") | |
else: | |
print("No") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment