import java.util.Scanner;
class Main {
	public void how() {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int z = 0;
		for(int I = a ; I <= b ; I++) {
			int x = c % I;
			if(x == 0) {
				z++; 
			}
		}
		System.out.println(z);
	}
	public static void main(String[] args) {
		new Main().how();
	}
} import java.util.Scanner; Scanner java.util class Main {
	public void how() {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int z = 0;
		for(int I = a ; I <= b ; I++) {
			int x = c % I;
			if(x == 0) {
				z++; 
			}
		}
		System.out.println(z);
	}
	public static void main(String[] args) {
		new Main().how();
	}
} Main public void how() {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int z = 0;
		for(int I = a ; I <= b ; I++) {
			int x = c % I;
			if(x == 0) {
				z++; 
			}
		}
		System.out.println(z);
	} how {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int z = 0;
		for(int I = a ; I <= b ; I++) {
			int x = c % I;
			if(x == 0) {
				z++; 
			}
		}
		System.out.println(z);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc int b = sc.nextInt(); b sc.nextInt() sc.nextInt sc int c = sc.nextInt(); c sc.nextInt() sc.nextInt sc int z = 0; z 0 for(int I = a ; I <= b ; I++) {
			int x = c % I;
			if(x == 0) {
				z++; 
			}
		} int I = a ; int I = a ; I a I <= b I b I++ I++ I {
			int x = c % I;
			if(x == 0) {
				z++; 
			}
		} {
			int x = c % I;
			if(x == 0) {
				z++; 
			}
		} int x = c % I; x c % I c I if(x == 0) {
				z++; 
			} x == 0 x 0 {
				z++; 
			} z++ z System.out.println(z) System.out.println System.out System System.out z public static void main(String[] args) {
		new Main().how();
	} main {
		new Main().how();
	} new Main().how() new Main().how new Main() String[] args args
import java.util.Scanner;
class Main {
	public void how() {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int z = 0;
		for(int I = a ; I <= b ; I++) {
			int x = c % I;
			if(x == 0) {
				z++; 
			}
		}
		System.out.println(z);
	}
	public static void main(String[] args) {
		new Main().how();
	}
}