using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace yukicorder537 { class Program { static void Main(string[] args) { // 入力 Int64 N = long.Parse(Console.ReadLine()); // 割れる組み合わせの確認 long ans = divPattern(N); Console.WriteLine(ans); Console.ReadKey(); } static long divPattern(Int64 N) { var max = Math.Sqrt(N); List cnt = new List(); for (Int64 i = 1; i <= max; i++) { if (N % i == 0) { cnt.Add(string.Format("{0}{1}" , i , N / i)); cnt.Add(string.Format("{0}{1}" , N / i , i)); } } return cnt.Distinct().Count(); } } }