import java.util.HashSet; import java.util.Scanner; public class Main { static public void main(String[]args) throws Exception { Scanner sc = new Scanner(System.in); long n = sc.nextLong(); solve(n); } static void solve(long n) { HashSet hs = new HashSet(); for(int i=1; i<=Math.sqrt(n); i++) { if(n % i == 0) { long j = n / i; hs.add(i+""+j); hs.add(j+""+i); } } System.out.println(hs.size()); } }