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

} Main public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		String[] info = line.split(" ");
		int a = Integer.parseInt(info[0]);
		int b = Integer.parseInt(info[1]);
		int c = Integer.parseInt(info[2]);
		int count = 0;
		for (int i = a; i < b + 1; i++) {
			if (c % i == 0) {
				count++;
			}
		}
		System.out.println(count);
	} main {
		// TODO ?????????????????????????????????????????????
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		String[] info = line.split(" ");
		int a = Integer.parseInt(info[0]);
		int b = Integer.parseInt(info[1]);
		int c = Integer.parseInt(info[2]);
		int count = 0;
		for (int i = a; i < b + 1; i++) {
			if (c % i == 0) {
				count++;
			}
		}
		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[] info = line.split(" "); info line.split(" ") line.split line " " int a = Integer.parseInt(info[0]); a Integer.parseInt(info[0]) Integer.parseInt Integer info[0] info 0 int b = Integer.parseInt(info[1]); b Integer.parseInt(info[1]) Integer.parseInt Integer info[1] info 1 int c = Integer.parseInt(info[2]); c Integer.parseInt(info[2]) Integer.parseInt Integer info[2] info 2 int count = 0; count 0 for (int i = a; i < b + 1; i++) {
			if (c % i == 0) {
				count++;
			}
		} int i = a; int i = a; i a i < b + 1 i b + 1 b 1 i++ i++ i {
			if (c % i == 0) {
				count++;
			}
		} {
			if (c % i == 0) {
				count++;
			}
		} if (c % i == 0) {
				count++;
			} c % i == 0 c % i c i 0 {
				count++;
			} count++ count 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[] info = line.split(" ");
		int a = Integer.parseInt(info[0]);
		int b = Integer.parseInt(info[1]);
		int c = Integer.parseInt(info[2]);
		int count = 0;
		for (int i = a; i < b + 1; i++) {
			if (c % i == 0) {
				count++;
			}
		}
		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[] info = line.split(" ");
		int a = Integer.parseInt(info[0]);
		int b = Integer.parseInt(info[1]);
		int c = Integer.parseInt(info[2]);
		int count = 0;
		for (int i = a; i < b + 1; i++) {
			if (c % i == 0) {
				count++;
			}
		}
		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[] info = line.split(" ");
		int a = Integer.parseInt(info[0]);
		int b = Integer.parseInt(info[1]);
		int c = Integer.parseInt(info[2]);
		int count = 0;
		for (int i = a; i < b + 1; i++) {
			if (c % i == 0) {
				count++;
			}
		}
		System.out.println(count);
	}

}