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[] a_b_c = str.split(" ", 0);

		int a = Integer.parseInt(a_b_c[0]);
		int b = Integer.parseInt(a_b_c[1]);
		int c = Integer.parseInt(a_b_c[2]);

		int divisor = 0;

		for (int i = a; i <= b; i++) {
			if (c % i == 0) {
				divisor++;
			}
		}
		System.out.println(divisor);
	}
} 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[] a_b_c = str.split(" ", 0);

		int a = Integer.parseInt(a_b_c[0]);
		int b = Integer.parseInt(a_b_c[1]);
		int c = Integer.parseInt(a_b_c[2]);

		int divisor = 0;

		for (int i = a; i <= b; i++) {
			if (c % i == 0) {
				divisor++;
			}
		}
		System.out.println(divisor);
	}
} Main public static void main(String args[]) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		String[] a_b_c = str.split(" ", 0);

		int a = Integer.parseInt(a_b_c[0]);
		int b = Integer.parseInt(a_b_c[1]);
		int c = Integer.parseInt(a_b_c[2]);

		int divisor = 0;

		for (int i = a; i <= b; i++) {
			if (c % i == 0) {
				divisor++;
			}
		}
		System.out.println(divisor);
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		String[] a_b_c = str.split(" ", 0);

		int a = Integer.parseInt(a_b_c[0]);
		int b = Integer.parseInt(a_b_c[1]);
		int c = Integer.parseInt(a_b_c[2]);

		int divisor = 0;

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

		int a = Integer.parseInt(a_b_c[0]);
		int b = Integer.parseInt(a_b_c[1]);
		int c = Integer.parseInt(a_b_c[2]);

		int divisor = 0;

		for (int i = a; i <= b; i++) {
			if (c % i == 0) {
				divisor++;
			}
		}
		System.out.println(divisor);
	}
} public class Main {
	public static void main(String args[]) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		String[] a_b_c = str.split(" ", 0);

		int a = Integer.parseInt(a_b_c[0]);
		int b = Integer.parseInt(a_b_c[1]);
		int c = Integer.parseInt(a_b_c[2]);

		int divisor = 0;

		for (int i = a; i <= b; i++) {
			if (c % i == 0) {
				divisor++;
			}
		}
		System.out.println(divisor);
	}
} 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[] a_b_c = str.split(" ", 0);

		int a = Integer.parseInt(a_b_c[0]);
		int b = Integer.parseInt(a_b_c[1]);
		int c = Integer.parseInt(a_b_c[2]);

		int divisor = 0;

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