import java.util.Scanner; 
import java.util.Arrays; 
import java.util.Collections; 
public class Main {
  public static void main(String[] args) {
   Scanner sc = new Scanner(System.in);
    int a = sc.nextInt();
    int b = sc.nextInt();
    int c = sc.nextInt();
      int i,p=0;
      for(i=a;i<=b;i++){
          if(c % i == 0) p++;
      }
     System.out.println(p);
    sc.close();
  }
} import java.util.Scanner; Scanner java.util import java.util.Arrays; Arrays java.util import java.util.Collections; Collections java.util public class Main {
  public static void main(String[] args) {
   Scanner sc = new Scanner(System.in);
    int a = sc.nextInt();
    int b = sc.nextInt();
    int c = sc.nextInt();
      int i,p=0;
      for(i=a;i<=b;i++){
          if(c % i == 0) p++;
      }
     System.out.println(p);
    sc.close();
  }
} Main public static void main(String[] args) {
   Scanner sc = new Scanner(System.in);
    int a = sc.nextInt();
    int b = sc.nextInt();
    int c = sc.nextInt();
      int i,p=0;
      for(i=a;i<=b;i++){
          if(c % i == 0) p++;
      }
     System.out.println(p);
    sc.close();
  } main {
   Scanner sc = new Scanner(System.in);
    int a = sc.nextInt();
    int b = sc.nextInt();
    int c = sc.nextInt();
      int i,p=0;
      for(i=a;i<=b;i++){
          if(c % i == 0) p++;
      }
     System.out.println(p);
    sc.close();
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc int b = sc.nextInt(); b sc.nextInt() sc.nextInt sc int c = sc.nextInt(); c sc.nextInt() sc.nextInt sc int i i p=0; p 0 for(i=a;i<=b;i++){
          if(c % i == 0) p++;
      } i=a; i=a i a i<=b i b i++ i++ i {
          if(c % i == 0) p++;
      } {
          if(c % i == 0) p++;
      } if(c % i == 0) p++; c % i == 0 c % i c i 0 p++ p System.out.println(p) System.out.println System.out System System.out p sc.close() sc.close sc String[] args args public class Main {
  public static void main(String[] args) {
   Scanner sc = new Scanner(System.in);
    int a = sc.nextInt();
    int b = sc.nextInt();
    int c = sc.nextInt();
      int i,p=0;
      for(i=a;i<=b;i++){
          if(c % i == 0) p++;
      }
     System.out.println(p);
    sc.close();
  }
} public class Main {
  public static void main(String[] args) {
   Scanner sc = new Scanner(System.in);
    int a = sc.nextInt();
    int b = sc.nextInt();
    int c = sc.nextInt();
      int i,p=0;
      for(i=a;i<=b;i++){
          if(c % i == 0) p++;
      }
     System.out.println(p);
    sc.close();
  }
} Main
import java.util.Scanner; 
import java.util.Arrays; 
import java.util.Collections; 
public class Main {
  public static void main(String[] args) {
   Scanner sc = new Scanner(System.in);
    int a = sc.nextInt();
    int b = sc.nextInt();
    int c = sc.nextInt();
      int i,p=0;
      for(i=a;i<=b;i++){
          if(c % i == 0) p++;
      }
     System.out.println(p);
    sc.close();
  }
}
