from collections import defaultdict n=int(input()) m=int(n**0.5)+1 d=defaultdict(int) for i in range(2,m): if n%i==0: while n%i==0: d[i]+=1 n//=i if n!=1: d[n]+=1 ans=0 for e in d: ans+=e*d[e] print(ans)