def Factor(n):
Ans = []
d = 2
while d * d <= n:
if n % d == 0:
Ans.append(d)
n //= d
else:
d += 1
if n > 1:
Ans.append(n)
return Ans
def fact(a):
i = 1
o = 0
while i * i <= a:
if a % i == 0 and i * i != a: o += 2
elif a % i == 0 and i * i == a: o += 1
i += 1
return o