x = int(input())

i = 1
j = 0

while x >= i:
    
    if x % i == 0:
        j += 1
    
    i += 1
'''
if j == 2:
    print("Prime")
elif x == 1:
    print("Nothing")
elif j > 2:
    print("Composite")
    '''
print(j)