using System; using System.Collections.Generic; using System.Linq; class Program { static void Main(string[] args) { string read = Console.ReadLine(); int n = int.Parse(read); List x = new List(); for (int i = 1; i * i <= n; i++) { if (n % i == 0) { int j = n / i; x.Add(i.ToString() + j); x.Add(j.ToString() + i); } } int rtn = x.Distinct().Count(); Console.WriteLine(rtn); } }