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

class Main {

	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String strIn = br.readLine();
		Integer count = 0;
		for (int i = Integer.parseInt(strIn.split(" ")[0]); i <= Integer.parseInt(strIn.split(" ")[1]); i++) {
			if ((Integer.parseInt(strIn.split(" ")[2]) % i) == 0) {
				count++;
			}
		}
		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 class Main {

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

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

}