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

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

class Main {
	public static void main(String[] args) throws IOException{
		
		String[] ArrayX = new String[3];
		int[] Numbers = new int[3];
		int cnt = 0;
		
		BufferedReader br =
				new BufferedReader(new InputStreamReader(System.in));
		
		String str = br.readLine();
		ArrayX = str.split(" ");
		
		Numbers[0] = Integer.parseInt(ArrayX[0]);
		Numbers[1] = Integer.parseInt(ArrayX[1]);
		Numbers[2] = Integer.parseInt(ArrayX[2]);
		
		if(Numbers[0]<=Numbers[1]) {
			for(int i = Numbers[0]; i<=Numbers[1]; i++) {
				if(Numbers[2]%i==0){
					cnt++;
				}
			}
		}
		else
			cnt = 0;
		
			System.out.println(cnt);
	}
}