import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {

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

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		String str = br.readLine();
		String strArray[] = str.split(" ", 0);
		int a = Integer.parseInt(strArray[0]);
		int b = Integer.parseInt(strArray[1]);
		int c = Integer.parseInt(strArray[2]);
		int tmp = 0;

		while(a <= b){

			if(c%a ==0){
				tmp++;
			}
			a++;
		}
		System.out.println(tmp);
	}

} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {

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

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		String str = br.readLine();
		String strArray[] = str.split(" ", 0);
		int a = Integer.parseInt(strArray[0]);
		int b = Integer.parseInt(strArray[1]);
		int c = Integer.parseInt(strArray[2]);
		int tmp = 0;

		while(a <= b){

			if(c%a ==0){
				tmp++;
			}
			a++;
		}
		System.out.println(tmp);
	}

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

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		String str = br.readLine();
		String strArray[] = str.split(" ", 0);
		int a = Integer.parseInt(strArray[0]);
		int b = Integer.parseInt(strArray[1]);
		int c = Integer.parseInt(strArray[2]);
		int tmp = 0;

		while(a <= b){

			if(c%a ==0){
				tmp++;
			}
			a++;
		}
		System.out.println(tmp);
	} main {

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		String str = br.readLine();
		String strArray[] = str.split(" ", 0);
		int a = Integer.parseInt(strArray[0]);
		int b = Integer.parseInt(strArray[1]);
		int c = Integer.parseInt(strArray[2]);
		int tmp = 0;

		while(a <= b){

			if(c%a ==0){
				tmp++;
			}
			a++;
		}
		System.out.println(tmp);
	} 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 strArray[] = str.split(" ", 0); strArray str.split(" ", 0) str.split str " " 0 int a = Integer.parseInt(strArray[0]); a Integer.parseInt(strArray[0]) Integer.parseInt Integer strArray[0] strArray 0 int b = Integer.parseInt(strArray[1]); b Integer.parseInt(strArray[1]) Integer.parseInt Integer strArray[1] strArray 1 int c = Integer.parseInt(strArray[2]); c Integer.parseInt(strArray[2]) Integer.parseInt Integer strArray[2] strArray 2 int tmp = 0; tmp 0 while(a <= b){

			if(c%a ==0){
				tmp++;
			}
			a++;
		} a <= b a b {

			if(c%a ==0){
				tmp++;
			}
			a++;
		} if(c%a ==0){
				tmp++;
			} c%a ==0 c%a c a 0 {
				tmp++;
			} tmp++ tmp a++ a System.out.println(tmp) System.out.println System.out System System.out tmp String[] args args public class Main {

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

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		String str = br.readLine();
		String strArray[] = str.split(" ", 0);
		int a = Integer.parseInt(strArray[0]);
		int b = Integer.parseInt(strArray[1]);
		int c = Integer.parseInt(strArray[2]);
		int tmp = 0;

		while(a <= b){

			if(c%a ==0){
				tmp++;
			}
			a++;
		}
		System.out.println(tmp);
	}

} public class Main {

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

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		String str = br.readLine();
		String strArray[] = str.split(" ", 0);
		int a = Integer.parseInt(strArray[0]);
		int b = Integer.parseInt(strArray[1]);
		int c = Integer.parseInt(strArray[2]);
		int tmp = 0;

		while(a <= b){

			if(c%a ==0){
				tmp++;
			}
			a++;
		}
		System.out.println(tmp);
	}

} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {

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

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		String str = br.readLine();
		String strArray[] = str.split(" ", 0);
		int a = Integer.parseInt(strArray[0]);
		int b = Integer.parseInt(strArray[1]);
		int c = Integer.parseInt(strArray[2]);
		int tmp = 0;

		while(a <= b){

			if(c%a ==0){
				tmp++;
			}
			a++;
		}
		System.out.println(tmp);
	}

}