Created
December 10, 2017 02:36
-
-
Save whatalnk/ce415e788430c5d4360b9f8992bab0ec to your computer and use it in GitHub Desktop.
AtCoder ABC #080
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() | |
fx = sum(map(int, list(n))) | |
if int(n) % fx == 0: | |
print("Yes") | |
else: | |
print("No") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment