output_description: If S(N) divides N, print `Yes`; if it does not, print `No`.
  
  * * *
input_description: Input is given from Standard Input in the following format:
  
      
      
      N
attempt: import sys
  
  def solve (N):
      s=0
      for b in str(N):
          s = s + int(b)
      if N % s ==0:
          return 'Yes'
      else:
          return 'No'
  
  # 関数 solve は，もちろん，問題に応じて書き換える
  def solve(n):
     
  # ここから下は，入力・出力形式が同じであれば，変えなくて良い．
  def readQuestion():
      line = sys.stdin.readline().rstrip()
      return int(line)
  
  def main():
      n = readQuestion()
      answer = solve(n)
      print(answer)
      
  if __name__ == '__main__':
      main()
problem_description: Statement
  
  Let S(n) denote the sum of the digits in the decimal notation of n. For
  example, S(101) = 1 + 0 + 1 = 2.
  
  Given an integer N, determine if S(N) divides N.
samples: [{"input": "12", "output": "Yes\n    \n\nIn this input, N=12. As S(12) = 1 + 2 = 3, S(N) divides N.\n\n* * *"}, {"input": "101", "output": "No\n    \n\nAs S(101) = 1 + 0 + 1 = 2, S(N) does not divide N.\n\n* * *"}, {"input": "999999999", "output": "Yes"}]