import java.util.*; public class Main { static Scanner sc = new Scanner(System.in); public static void main(String[] args) { long n = sc.nextLong(); Set set = new HashSet<>(); for (long i=1; i<=n; i++) { if (n%i==0) { StringBuilder sb = new StringBuilder(); sb.append(String.valueOf(i)); sb.append(String.valueOf(n/i)); set.add(sb.toString()); } } System.out.println(set.size()); } }