#include<iostream>

using System;

class yakusu
{
  public static void Main()
  {
    int i, count=0;
    int a,b,c = int.Parse(Console.ReadLine());
    
    for(i = a; i <= b; i++){
      if(c%i == 0) count++;
    }

  Console.WriteLine("{0}", count);
  }
}
      