n = int(input()) ans = 0 set_of_candi = set() for i in range(1, int(n**0.5) + 1): print(i) if i * i > n: break if n % i == 0: set_of_candi.add(str(i) + str(n//i)) set_of_candi.add(str(n//i) + str(i)) print(len(set_of_candi))