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: def getinputdata():
  
      array_result = []
      array_result.append(input().split(" "))
  
      flg = True
  
      try:
          while flg:
  
              data = input()
  
              if data != "":
  
                  array_result.append(data.split(" "))
  
                  flg = True
  
              else:
  
                  flg = False
      finally:
  
          return array_result
  
  
  arr_data = getinputdata()
  
  s = arr_data[0][0]
  
  sumdata = sum(list(map(int, list(s))))
  
  print("Yes" if int(s) % sumdata == 0 else "No")
  
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"}]