#ABC176B. [ABC176B] 9的倍数
[ABC176B] 9的倍数
No testdata at current.
No submission language available for this problem.
Score : points
Problem Statement
An integer is a multiple of if and only if the sum of the digits in the decimal representation of is a multiple of .
Determine whether is a multiple of .
Constraints
- is an integer.
Input
Input is given from Standard Input in the following format:
Output
If is a multiple of , print Yes; otherwise, print No.
123456789
Yes
The sum of these digits is , which is a multiple of , so is a multiple of .
0
Yes
31415926535897932384626433832795028841971693993751058209749445923078164062862089986280
No