def myfunc(n):
  d = 0
  for k in range(n):
    if (n % (k+1) == 0): d += 1
  return d

