n = int(raw_input()) d = 1 c = 0 while d * d < n: if n % d == 0: c += 1 d += 1 c *= 2 if d * d == n: c += 1 print c