import math N = int(input()) count = 0 ans = list() X = list() print(math.sqrt(N)) for i in range(0, math.floor(math.sqrt(N))): q = N/(i+1) if q.is_integer(): #割り切れるか判定 ans.append(i+1) ans.append(int(q)) for i in range(0, len(ans), 2): X.append(str(ans[i]) + str(ans[i+1])) X.append(str(ans[i+1]) + str(ans[i])) X_uni = list(set(X)) #重複の削除 print(len(X_uni))