import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner scn = new Scanner(System.in);
		int[] num = new int[3];
		num[0] = scn.nextInt();
		num[1] = scn.nextInt();
		num[2] = scn.nextInt();
		int sum =0;
		for (int i=num[0]; i >= num[0] && i<= num[1] ; i++) {
			if (num[2]%i == 0) {
				sum++;
			}
		}
		System.out.println(sum);
	}
}
 import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner scn = new Scanner(System.in);
		int[] num = new int[3];
		num[0] = scn.nextInt();
		num[1] = scn.nextInt();
		num[2] = scn.nextInt();
		int sum =0;
		for (int i=num[0]; i >= num[0] && i<= num[1] ; i++) {
			if (num[2]%i == 0) {
				sum++;
			}
		}
		System.out.println(sum);
	}
} Main public static void main(String[] args) {
		Scanner scn = new Scanner(System.in);
		int[] num = new int[3];
		num[0] = scn.nextInt();
		num[1] = scn.nextInt();
		num[2] = scn.nextInt();
		int sum =0;
		for (int i=num[0]; i >= num[0] && i<= num[1] ; i++) {
			if (num[2]%i == 0) {
				sum++;
			}
		}
		System.out.println(sum);
	} main {
		Scanner scn = new Scanner(System.in);
		int[] num = new int[3];
		num[0] = scn.nextInt();
		num[1] = scn.nextInt();
		num[2] = scn.nextInt();
		int sum =0;
		for (int i=num[0]; i >= num[0] && i<= num[1] ; i++) {
			if (num[2]%i == 0) {
				sum++;
			}
		}
		System.out.println(sum);
	} Scanner scn = new Scanner(System.in); scn new Scanner(System.in) int[] num = new int[3]; num new int[3] 3 num[0] = scn.nextInt() num[0] num 0 scn.nextInt() scn.nextInt scn num[1] = scn.nextInt() num[1] num 1 scn.nextInt() scn.nextInt scn num[2] = scn.nextInt() num[2] num 2 scn.nextInt() scn.nextInt scn int sum =0; sum 0 for (int i=num[0]; i >= num[0] && i<= num[1] ; i++) {
			if (num[2]%i == 0) {
				sum++;
			}
		} int i=num[0]; int i=num[0]; i num[0] num 0 i >= num[0] && i<= num[1] i >= num[0] i num[0] num 0 i<= num[1] i num[1] num 1 i++ i++ i {
			if (num[2]%i == 0) {
				sum++;
			}
		} {
			if (num[2]%i == 0) {
				sum++;
			}
		} if (num[2]%i == 0) {
				sum++;
			} num[2]%i == 0 num[2]%i num[2] num 2 i 0 {
				sum++;
			} sum++ sum System.out.println(sum) System.out.println System.out System System.out sum String[] args args public class Main {
	public static void main(String[] args) {
		Scanner scn = new Scanner(System.in);
		int[] num = new int[3];
		num[0] = scn.nextInt();
		num[1] = scn.nextInt();
		num[2] = scn.nextInt();
		int sum =0;
		for (int i=num[0]; i >= num[0] && i<= num[1] ; i++) {
			if (num[2]%i == 0) {
				sum++;
			}
		}
		System.out.println(sum);
	}
} public class Main {
	public static void main(String[] args) {
		Scanner scn = new Scanner(System.in);
		int[] num = new int[3];
		num[0] = scn.nextInt();
		num[1] = scn.nextInt();
		num[2] = scn.nextInt();
		int sum =0;
		for (int i=num[0]; i >= num[0] && i<= num[1] ; i++) {
			if (num[2]%i == 0) {
				sum++;
			}
		}
		System.out.println(sum);
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner scn = new Scanner(System.in);
		int[] num = new int[3];
		num[0] = scn.nextInt();
		num[1] = scn.nextInt();
		num[2] = scn.nextInt();
		int sum =0;
		for (int i=num[0]; i >= num[0] && i<= num[1] ; i++) {
			if (num[2]%i == 0) {
				sum++;
			}
		}
		System.out.println(sum);
	}
}

