import java.io.BufferedReader;
import java.io.InputStreamReader;
  
public class Main {
    public static void main(String[] args) throws Exception {
    	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    	String str = br.readLine();
    	String[] array = str.split(" ");
    	
    	int a = Integer.parseInt(array[0]);
    	int b = Integer.parseInt(array[1]);
    	int c = Integer.parseInt(array[2]);
    	
    	int i,d = 0;
    	
    	for(i=a;i<=b;i++){
    		if(c%i==0){
    			d++;
    		}
    	}
    	System.out.println(d);
    	
    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {
    public static void main(String[] args) throws Exception {
    	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    	String str = br.readLine();
    	String[] array = str.split(" ");
    	
    	int a = Integer.parseInt(array[0]);
    	int b = Integer.parseInt(array[1]);
    	int c = Integer.parseInt(array[2]);
    	
    	int i,d = 0;
    	
    	for(i=a;i<=b;i++){
    		if(c%i==0){
    			d++;
    		}
    	}
    	System.out.println(d);
    	
    }
} Main public static void main(String[] args) throws Exception {
    	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    	String str = br.readLine();
    	String[] array = str.split(" ");
    	
    	int a = Integer.parseInt(array[0]);
    	int b = Integer.parseInt(array[1]);
    	int c = Integer.parseInt(array[2]);
    	
    	int i,d = 0;
    	
    	for(i=a;i<=b;i++){
    		if(c%i==0){
    			d++;
    		}
    	}
    	System.out.println(d);
    	
    } main {
    	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    	String str = br.readLine();
    	String[] array = str.split(" ");
    	
    	int a = Integer.parseInt(array[0]);
    	int b = Integer.parseInt(array[1]);
    	int c = Integer.parseInt(array[2]);
    	
    	int i,d = 0;
    	
    	for(i=a;i<=b;i++){
    		if(c%i==0){
    			d++;
    		}
    	}
    	System.out.println(d);
    	
    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String str = br.readLine(); str br.readLine() br.readLine br String[] array = str.split(" "); array str.split(" ") str.split str " " int a = Integer.parseInt(array[0]); a Integer.parseInt(array[0]) Integer.parseInt Integer array[0] array 0 int b = Integer.parseInt(array[1]); b Integer.parseInt(array[1]) Integer.parseInt Integer array[1] array 1 int c = Integer.parseInt(array[2]); c Integer.parseInt(array[2]) Integer.parseInt Integer array[2] array 2 int i i d = 0; d 0 for(i=a;i<=b;i++){
    		if(c%i==0){
    			d++;
    		}
    	} i=a; i=a i a i<=b i b i++ i++ i {
    		if(c%i==0){
    			d++;
    		}
    	} {
    		if(c%i==0){
    			d++;
    		}
    	} if(c%i==0){
    			d++;
    		} c%i==0 c%i c i 0 {
    			d++;
    		} d++ d 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 Exception {
    	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    	String str = br.readLine();
    	String[] array = str.split(" ");
    	
    	int a = Integer.parseInt(array[0]);
    	int b = Integer.parseInt(array[1]);
    	int c = Integer.parseInt(array[2]);
    	
    	int i,d = 0;
    	
    	for(i=a;i<=b;i++){
    		if(c%i==0){
    			d++;
    		}
    	}
    	System.out.println(d);
    	
    }
} public class Main {
    public static void main(String[] args) throws Exception {
    	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    	String str = br.readLine();
    	String[] array = str.split(" ");
    	
    	int a = Integer.parseInt(array[0]);
    	int b = Integer.parseInt(array[1]);
    	int c = Integer.parseInt(array[2]);
    	
    	int i,d = 0;
    	
    	for(i=a;i<=b;i++){
    		if(c%i==0){
    			d++;
    		}
    	}
    	System.out.println(d);
    	
    }
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;
  
public class Main {
    public static void main(String[] args) throws Exception {
    	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    	String str = br.readLine();
    	String[] array = str.split(" ");
    	
    	int a = Integer.parseInt(array[0]);
    	int b = Integer.parseInt(array[1]);
    	int c = Integer.parseInt(array[2]);
    	
    	int i,d = 0;
    	
    	for(i=a;i<=b;i++){
    		if(c%i==0){
    			d++;
    		}
    	}
    	System.out.println(d);
    	
    }
}