100 atcoder#ABC101B. [ABC101B] Digit Sums
[ABC101B] Digit Sums
Score : points
Problem Statement
Let denote the sum of the digits in the decimal notation of . For example, .
Given an integer , determine if divides .
Constraints
Input
Input is given from Standard Input in the following format:
Output
If divides , print Yes
; if it does not, print No
.
12
Yes
In this input, . As , divides .
101
No
As , does not divide .
999999999
Yes