import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.HashSet; import java.util.LinkedHashSet; import java.util.Set; import static java.lang.System.in; public class No537 { public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(in)); int N = Integer.parseInt(reader.readLine()); Set set = new HashSet(); for (int i = 1; i * i <= N; i++) { if (N % i == 0) { set.add("" + (char) i + (char) (N / i)); set.add("" + (char) (N / i) + (char) i); } } System.out.println(set.size()); } }