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

public class Main {

	public static void main(String[] args) throws IOException{
		int counter = 0;
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] inputNum = br.readLine().split(" ");
		int a = Integer.parseInt(inputNum[0]);
		int b = Integer.parseInt(inputNum[1]);
		int c = Integer.parseInt(inputNum[2]);

		for(int i = a; i<= b ; i++){
			if(c%i == 0){
				counter++;
			}
		}
		System.out.println(counter);
	}

} 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{
		int counter = 0;
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] inputNum = br.readLine().split(" ");
		int a = Integer.parseInt(inputNum[0]);
		int b = Integer.parseInt(inputNum[1]);
		int c = Integer.parseInt(inputNum[2]);

		for(int i = a; i<= b ; i++){
			if(c%i == 0){
				counter++;
			}
		}
		System.out.println(counter);
	}

} Main public static void main(String[] args) throws IOException{
		int counter = 0;
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] inputNum = br.readLine().split(" ");
		int a = Integer.parseInt(inputNum[0]);
		int b = Integer.parseInt(inputNum[1]);
		int c = Integer.parseInt(inputNum[2]);

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

		for(int i = a; i<= b ; i++){
			if(c%i == 0){
				counter++;
			}
		}
		System.out.println(counter);
	} int counter = 0; counter 0 BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String[] inputNum = br.readLine().split(" "); inputNum br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " int a = Integer.parseInt(inputNum[0]); a Integer.parseInt(inputNum[0]) Integer.parseInt Integer inputNum[0] inputNum 0 int b = Integer.parseInt(inputNum[1]); b Integer.parseInt(inputNum[1]) Integer.parseInt Integer inputNum[1] inputNum 1 int c = Integer.parseInt(inputNum[2]); c Integer.parseInt(inputNum[2]) Integer.parseInt Integer inputNum[2] inputNum 2 for(int i = a; i<= b ; i++){
			if(c%i == 0){
				counter++;
			}
		} int i = a; int i = a; i a i<= b i b i++ i++ i {
			if(c%i == 0){
				counter++;
			}
		} {
			if(c%i == 0){
				counter++;
			}
		} if(c%i == 0){
				counter++;
			} c%i == 0 c%i c i 0 {
				counter++;
			} counter++ counter System.out.println(counter) System.out.println System.out System System.out counter String[] args args public class Main {

	public static void main(String[] args) throws IOException{
		int counter = 0;
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] inputNum = br.readLine().split(" ");
		int a = Integer.parseInt(inputNum[0]);
		int b = Integer.parseInt(inputNum[1]);
		int c = Integer.parseInt(inputNum[2]);

		for(int i = a; i<= b ; i++){
			if(c%i == 0){
				counter++;
			}
		}
		System.out.println(counter);
	}

} public class Main {

	public static void main(String[] args) throws IOException{
		int counter = 0;
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] inputNum = br.readLine().split(" ");
		int a = Integer.parseInt(inputNum[0]);
		int b = Integer.parseInt(inputNum[1]);
		int c = Integer.parseInt(inputNum[2]);

		for(int i = a; i<= b ; i++){
			if(c%i == 0){
				counter++;
			}
		}
		System.out.println(counter);
	}

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

public class Main {

	public static void main(String[] args) throws IOException{
		int counter = 0;
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] inputNum = br.readLine().split(" ");
		int a = Integer.parseInt(inputNum[0]);
		int b = Integer.parseInt(inputNum[1]);
		int c = Integer.parseInt(inputNum[2]);

		for(int i = a; i<= b ; i++){
			if(c%i == 0){
				counter++;
			}
		}
		System.out.println(counter);
	}

}