using System; using System.Linq; using System.Collections.Generic; class No537 { static void Main() { var num = Int32.Parse(Console.ReadLine()); var numI = num / 2; var list = new List(); var before = 0; var sameCount = 0; for (int i = 1; i < numI; ++i) { if (num % i==0) { if (before!=num/i) { list.Add(i); before = i; } else { if (before == i) sameCount++; break; } } } Console.WriteLine(list.Count*2-sameCount); } }