import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		String[] x = line.split(" ");
		int a = Integer.parseInt(x[0]);
		int b = Integer.parseInt(x[1]);
		int c = Integer.parseInt(x[2]);
		int count = 0;
		a -= 1;
		while (a  < b) {
			a++;

			if (c % a == 0) {
				count += 1;

			}

		}

		System.out.println(count);

	}

}
 import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		String[] x = line.split(" ");
		int a = Integer.parseInt(x[0]);
		int b = Integer.parseInt(x[1]);
		int c = Integer.parseInt(x[2]);
		int count = 0;
		a -= 1;
		while (a  < b) {
			a++;

			if (c % a == 0) {
				count += 1;

			}

		}

		System.out.println(count);

	}

} Main public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		String[] x = line.split(" ");
		int a = Integer.parseInt(x[0]);
		int b = Integer.parseInt(x[1]);
		int c = Integer.parseInt(x[2]);
		int count = 0;
		a -= 1;
		while (a  < b) {
			a++;

			if (c % a == 0) {
				count += 1;

			}

		}

		System.out.println(count);

	} main {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		String[] x = line.split(" ");
		int a = Integer.parseInt(x[0]);
		int b = Integer.parseInt(x[1]);
		int c = Integer.parseInt(x[2]);
		int count = 0;
		a -= 1;
		while (a  < b) {
			a++;

			if (c % a == 0) {
				count += 1;

			}

		}

		System.out.println(count);

	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String line = sc.nextLine(); line sc.nextLine() sc.nextLine sc String[] x = line.split(" "); x line.split(" ") line.split line " " int a = Integer.parseInt(x[0]); a Integer.parseInt(x[0]) Integer.parseInt Integer x[0] x 0 int b = Integer.parseInt(x[1]); b Integer.parseInt(x[1]) Integer.parseInt Integer x[1] x 1 int c = Integer.parseInt(x[2]); c Integer.parseInt(x[2]) Integer.parseInt Integer x[2] x 2 int count = 0; count 0 a -= 1 a 1 while (a  < b) {
			a++;

			if (c % a == 0) {
				count += 1;

			}

		} a  < b a b {
			a++;

			if (c % a == 0) {
				count += 1;

			}

		} a++ a if (c % a == 0) {
				count += 1;

			} c % a == 0 c % a c a 0 {
				count += 1;

			} count += 1 count 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) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		String[] x = line.split(" ");
		int a = Integer.parseInt(x[0]);
		int b = Integer.parseInt(x[1]);
		int c = Integer.parseInt(x[2]);
		int count = 0;
		a -= 1;
		while (a  < b) {
			a++;

			if (c % a == 0) {
				count += 1;

			}

		}

		System.out.println(count);

	}

} public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		String[] x = line.split(" ");
		int a = Integer.parseInt(x[0]);
		int b = Integer.parseInt(x[1]);
		int c = Integer.parseInt(x[2]);
		int count = 0;
		a -= 1;
		while (a  < b) {
			a++;

			if (c % a == 0) {
				count += 1;

			}

		}

		System.out.println(count);

	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		String[] x = line.split(" ");
		int a = Integer.parseInt(x[0]);
		int b = Integer.parseInt(x[1]);
		int c = Integer.parseInt(x[2]);
		int count = 0;
		a -= 1;
		while (a  < b) {
			a++;

			if (c % a == 0) {
				count += 1;

			}

		}

		System.out.println(count);

	}

}

