An integer X is called a Harshad number if X is divisible by f(X), where f(X) is the sum of the digits in X when written in base 10.  Given an integer N, determine whether it is a Harshad number.
X = input();print('Yes' if sum(map(int,X))/int(X)==0 else 'No')

X = input();print('Yes' if (int(X)%sum(map(int,X)))==0 else 'No')
