import java.io.IOException;
import java.util.Scanner;
public class Main {

	public static void main(String[] args) throws IOException{
		// TODO ?????????????????????????????????????????????
          Scanner sc = new Scanner(System.in);
          int a = sc.nextInt();
          int b = sc.nextInt();
          int c = sc.nextInt();
          int d;
          d=0;
          while(a<=b){
        	  if(c%a == 0){
        		d=d+1;  
        	  }
        	  a=a+1;
          }
          System.out.println(d);
	}

} import java.io.IOException; IOException java.io import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) throws IOException{
		// TODO ?????????????????????????????????????????????
          Scanner sc = new Scanner(System.in);
          int a = sc.nextInt();
          int b = sc.nextInt();
          int c = sc.nextInt();
          int d;
          d=0;
          while(a<=b){
        	  if(c%a == 0){
        		d=d+1;  
        	  }
        	  a=a+1;
          }
          System.out.println(d);
	}

} Main public static void main(String[] args) throws IOException{
		// TODO ?????????????????????????????????????????????
          Scanner sc = new Scanner(System.in);
          int a = sc.nextInt();
          int b = sc.nextInt();
          int c = sc.nextInt();
          int d;
          d=0;
          while(a<=b){
        	  if(c%a == 0){
        		d=d+1;  
        	  }
        	  a=a+1;
          }
          System.out.println(d);
	} main {
		// TODO ?????????????????????????????????????????????
          Scanner sc = new Scanner(System.in);
          int a = sc.nextInt();
          int b = sc.nextInt();
          int c = sc.nextInt();
          int d;
          d=0;
          while(a<=b){
        	  if(c%a == 0){
        		d=d+1;  
        	  }
        	  a=a+1;
          }
          System.out.println(d);
	} 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 d; d d=0 d 0 while(a<=b){
        	  if(c%a == 0){
        		d=d+1;  
        	  }
        	  a=a+1;
          } a<=b a b {
        	  if(c%a == 0){
        		d=d+1;  
        	  }
        	  a=a+1;
          } if(c%a == 0){
        		d=d+1;  
        	  } c%a == 0 c%a c a 0 {
        		d=d+1;  
        	  } d=d+1 d d+1 d 1 a=a+1 a a+1 a 1 System.out.println(d) System.out.println System.out System System.out d String[] args args public class Main {

	public static void main(String[] args) throws IOException{
		// TODO ?????????????????????????????????????????????
          Scanner sc = new Scanner(System.in);
          int a = sc.nextInt();
          int b = sc.nextInt();
          int c = sc.nextInt();
          int d;
          d=0;
          while(a<=b){
        	  if(c%a == 0){
        		d=d+1;  
        	  }
        	  a=a+1;
          }
          System.out.println(d);
	}

} public class Main {

	public static void main(String[] args) throws IOException{
		// TODO ?????????????????????????????????????????????
          Scanner sc = new Scanner(System.in);
          int a = sc.nextInt();
          int b = sc.nextInt();
          int c = sc.nextInt();
          int d;
          d=0;
          while(a<=b){
        	  if(c%a == 0){
        		d=d+1;  
        	  }
        	  a=a+1;
          }
          System.out.println(d);
	}

} Main
import java.io.IOException;
import java.util.Scanner;
public class Main {

	public static void main(String[] args) throws IOException{
		// TODO ?????????????????????????????????????????????
          Scanner sc = new Scanner(System.in);
          int a = sc.nextInt();
          int b = sc.nextInt();
          int c = sc.nextInt();
          int d;
          d=0;
          while(a<=b){
        	  if(c%a == 0){
        		d=d+1;  
        	  }
        	  a=a+1;
          }
          System.out.println(d);
	}

}