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(" ");
		int a = Integer.parseInt(strArray[0]);
		int b = Integer.parseInt(strArray[1]);
		int c = Integer.parseInt(strArray[2]);
		int count = 0;
		int i =a;
		while(i<=b){
			if(c%i==0){
				count +=1;
			}else{}
			i += 1;
			}
		System.out.println(count);
	}
} 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(" ");
		int a = Integer.parseInt(strArray[0]);
		int b = Integer.parseInt(strArray[1]);
		int c = Integer.parseInt(strArray[2]);
		int count = 0;
		int i =a;
		while(i<=b){
			if(c%i==0){
				count +=1;
			}else{}
			i += 1;
			}
		System.out.println(count);
	}
} 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(" ");
		int a = Integer.parseInt(strArray[0]);
		int b = Integer.parseInt(strArray[1]);
		int c = Integer.parseInt(strArray[2]);
		int count = 0;
		int i =a;
		while(i<=b){
			if(c%i==0){
				count +=1;
			}else{}
			i += 1;
			}
		System.out.println(count);
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		String strArray[] = str.split(" ");
		int a = Integer.parseInt(strArray[0]);
		int b = Integer.parseInt(strArray[1]);
		int c = Integer.parseInt(strArray[2]);
		int count = 0;
		int i =a;
		while(i<=b){
			if(c%i==0){
				count +=1;
			}else{}
			i += 1;
			}
		System.out.println(count);
	} 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(" "); strArray str.split(" ") str.split str " " 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 count = 0; count 0 int i =a; i a while(i<=b){
			if(c%i==0){
				count +=1;
			}else{}
			i += 1;
			} i<=b i b {
			if(c%i==0){
				count +=1;
			}else{}
			i += 1;
			} if(c%i==0){
				count +=1;
			}else{} c%i==0 c%i c i 0 {
				count +=1;
			} count +=1 count 1 {} i += 1 i 1 System.out.println(count) System.out.println System.out System System.out count 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(" ");
		int a = Integer.parseInt(strArray[0]);
		int b = Integer.parseInt(strArray[1]);
		int c = Integer.parseInt(strArray[2]);
		int count = 0;
		int i =a;
		while(i<=b){
			if(c%i==0){
				count +=1;
			}else{}
			i += 1;
			}
		System.out.println(count);
	}
} 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(" ");
		int a = Integer.parseInt(strArray[0]);
		int b = Integer.parseInt(strArray[1]);
		int c = Integer.parseInt(strArray[2]);
		int count = 0;
		int i =a;
		while(i<=b){
			if(c%i==0){
				count +=1;
			}else{}
			i += 1;
			}
		System.out.println(count);
	}
} 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(" ");
		int a = Integer.parseInt(strArray[0]);
		int b = Integer.parseInt(strArray[1]);
		int c = Integer.parseInt(strArray[2]);
		int count = 0;
		int i =a;
		while(i<=b){
			if(c%i==0){
				count +=1;
			}else{}
			i += 1;
			}
		System.out.println(count);
	}
}