fun main() { val n = readLine()!!.toInt() var x = 1 var y = 0 while (n >= x){ if(n % x == 0){ y++ } x++ } print(y) }