import math, strutils let n: int = stdin.readline.parseInt var ans: int = 0 for i in 1..sqrt(n.float).int: if n mod i == 0: if i == (n div i): ans.inc else: ans.inc 2 echo ans