#abc080b. [abc080_b]Harshad Number
[abc080_b]Harshad Number
Problem Statement
An integer is called a Harshad number if is divisible by , where is the sum of the digits in when written in base .
Given an integer , determine whether it is a Harshad number.
Constraints
- is an integer.
Input
Input is given from Standard Input in the following format:
Output
Print Yes
if is a Harshad number; print No
otherwise.
Sample Input 1
12
Sample Output 1
Yes
. Since is divisible by , is a Harshad number.
Sample Input 2
57
Sample Output 2
No
. Since is not divisible by , is not a Harshad number.
Sample Input 3
148
Sample Output 3
No