const N = +require('fs').readFileSync('/dev/stdin', 'utf8'); const arr = []; for (let i = 1; i <= Math.sqrt(N); i++) { if (N % i == 0) { arr.push(String(i) + String(N / i)); arr.push(String(N / i) + String(i)); } } console.log([...new Set(arr)].length);