import strutils, math let N = stdin.readLine.parseInt var i, cnt = 0 while true: i += 1 let j = i ^ 2 if j > N: break if N mod i == 0: cnt += 1 if j != N: cnt += 1 echo cnt