import java.util.Scanner // fun _Do() { val N = scan.nextLong() val set = mutableSetOf() var a = 1L while(a*a<=N){ if(a*(N/a)==N) { set.add("$a${N/a}") set.add("${N/a}$a") } a+=1 } println(set.size) } var scan = Scanner(System.`in`) fun main( argv : Array ) { _Do() }