import java.io.*;

class Main{

    public static void main(String[] args)throws IOException{

	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	String strInput = br.readLine();
	String[] input = strInput.split(" ");
	int a = Integer.parseInt(input[0]);
	int b = Integer.parseInt(input[1]);
	int c = Integer.parseInt(input[2]);
	int count = 0;
	
	for(int i = a; i < (b+1); i++){
	    if(c % i == 0){
		count++;
	    }
	}

	System.out.println(count);
	
    }

} import java.io.*; io.* java class Main{

    public static void main(String[] args)throws IOException{

	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	String strInput = br.readLine();
	String[] input = strInput.split(" ");
	int a = Integer.parseInt(input[0]);
	int b = Integer.parseInt(input[1]);
	int c = Integer.parseInt(input[2]);
	int count = 0;
	
	for(int i = a; i < (b+1); i++){
	    if(c % i == 0){
		count++;
	    }
	}

	System.out.println(count);
	
    }

} Main public static void main(String[] args)throws IOException{

	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	String strInput = br.readLine();
	String[] input = strInput.split(" ");
	int a = Integer.parseInt(input[0]);
	int b = Integer.parseInt(input[1]);
	int c = Integer.parseInt(input[2]);
	int count = 0;
	
	for(int i = a; i < (b+1); i++){
	    if(c % i == 0){
		count++;
	    }
	}

	System.out.println(count);
	
    } main {

	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	String strInput = br.readLine();
	String[] input = strInput.split(" ");
	int a = Integer.parseInt(input[0]);
	int b = Integer.parseInt(input[1]);
	int c = Integer.parseInt(input[2]);
	int count = 0;
	
	for(int i = a; i < (b+1); i++){
	    if(c % i == 0){
		count++;
	    }
	}

	System.out.println(count);
	
    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String strInput = br.readLine(); strInput br.readLine() br.readLine br String[] input = strInput.split(" "); input strInput.split(" ") strInput.split strInput " " int a = Integer.parseInt(input[0]); a Integer.parseInt(input[0]) Integer.parseInt Integer input[0] input 0 int b = Integer.parseInt(input[1]); b Integer.parseInt(input[1]) Integer.parseInt Integer input[1] input 1 int c = Integer.parseInt(input[2]); c Integer.parseInt(input[2]) Integer.parseInt Integer input[2] input 2 int count = 0; count 0 for(int i = a; i < (b+1); i++){
	    if(c % i == 0){
		count++;
	    }
	} int i = a; int i = a; i a i < (b+1) i (b+1) b 1 i++ i++ i {
	    if(c % i == 0){
		count++;
	    }
	} {
	    if(c % i == 0){
		count++;
	    }
	} if(c % i == 0){
		count++;
	    } c % i == 0 c % i c i 0 {
		count++;
	    } count++ count System.out.println(count) System.out.println System.out System System.out count String[] args args
import java.io.*;

class Main{

    public static void main(String[] args)throws IOException{

	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	String strInput = br.readLine();
	String[] input = strInput.split(" ");
	int a = Integer.parseInt(input[0]);
	int b = Integer.parseInt(input[1]);
	int c = Integer.parseInt(input[2]);
	int count = 0;
	
	for(int i = a; i < (b+1); i++){
	    if(c % i == 0){
		count++;
	    }
	}

	System.out.println(count);
	
    }

}