import java.io.*;
  
class Main{
	public static void main(String[] args) throws IOException{

		int x,y,z;
		int count = 0;

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str[] = br.readLine().split(" ");
		x = Integer.parseInt(str[0]);
		y = Integer.parseInt(str[1]);
		z = Integer.parseInt(str[2]);

		for(int i=x; i<=y; i++){
			if(z%i == 0){
				count++;
			}
		}
		System.out.println(count);
    	}
} import java.io.*; io.* java class Main{
	public static void main(String[] args) throws IOException{

		int x,y,z;
		int count = 0;

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str[] = br.readLine().split(" ");
		x = Integer.parseInt(str[0]);
		y = Integer.parseInt(str[1]);
		z = Integer.parseInt(str[2]);

		for(int i=x; i<=y; i++){
			if(z%i == 0){
				count++;
			}
		}
		System.out.println(count);
    	}
} Main public static void main(String[] args) throws IOException{

		int x,y,z;
		int count = 0;

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str[] = br.readLine().split(" ");
		x = Integer.parseInt(str[0]);
		y = Integer.parseInt(str[1]);
		z = Integer.parseInt(str[2]);

		for(int i=x; i<=y; i++){
			if(z%i == 0){
				count++;
			}
		}
		System.out.println(count);
    	} main {

		int x,y,z;
		int count = 0;

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str[] = br.readLine().split(" ");
		x = Integer.parseInt(str[0]);
		y = Integer.parseInt(str[1]);
		z = Integer.parseInt(str[2]);

		for(int i=x; i<=y; i++){
			if(z%i == 0){
				count++;
			}
		}
		System.out.println(count);
    	} int x x y y z; z int count = 0; count 0 BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String str[] = br.readLine().split(" "); str br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " x = Integer.parseInt(str[0]) x Integer.parseInt(str[0]) Integer.parseInt Integer str[0] str 0 y = Integer.parseInt(str[1]) y Integer.parseInt(str[1]) Integer.parseInt Integer str[1] str 1 z = Integer.parseInt(str[2]) z Integer.parseInt(str[2]) Integer.parseInt Integer str[2] str 2 for(int i=x; i<=y; i++){
			if(z%i == 0){
				count++;
			}
		} int i=x; int i=x; i x i<=y i y i++ i++ i {
			if(z%i == 0){
				count++;
			}
		} {
			if(z%i == 0){
				count++;
			}
		} if(z%i == 0){
				count++;
			} z%i == 0 z%i z 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{

		int x,y,z;
		int count = 0;

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str[] = br.readLine().split(" ");
		x = Integer.parseInt(str[0]);
		y = Integer.parseInt(str[1]);
		z = Integer.parseInt(str[2]);

		for(int i=x; i<=y; i++){
			if(z%i == 0){
				count++;
			}
		}
		System.out.println(count);
    	}
}