import java.io.IOException;
import java.util.Scanner;
public class Main {
	public static void main(String[] args) throws IOException{
		Scanner sc = new Scanner(System.in);

		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();

		int count = 0;

		for(int i=a;i<=b;i++) {
			if(c%i==0) {
				count++;
			}
		}

		System.out.println(count);

		sc.close();
	}
} import java.io.IOException; IOException java.io import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) throws IOException{
		Scanner sc = new Scanner(System.in);

		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();

		int count = 0;

		for(int i=a;i<=b;i++) {
			if(c%i==0) {
				count++;
			}
		}

		System.out.println(count);

		sc.close();
	}
} Main public static void main(String[] args) throws IOException{
		Scanner sc = new Scanner(System.in);

		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();

		int count = 0;

		for(int i=a;i<=b;i++) {
			if(c%i==0) {
				count++;
			}
		}

		System.out.println(count);

		sc.close();
	} main {
		Scanner sc = new Scanner(System.in);

		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();

		int count = 0;

		for(int i=a;i<=b;i++) {
			if(c%i==0) {
				count++;
			}
		}

		System.out.println(count);

		sc.close();
	} 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 count = 0; count 0 for(int i=a;i<=b;i++) {
			if(c%i==0) {
				count++;
			}
		} int i=a; int i=a; i a i<=b i b 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 sc.close() sc.close sc String[] args args public class Main {
	public static void main(String[] args) throws IOException{
		Scanner sc = new Scanner(System.in);

		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();

		int count = 0;

		for(int i=a;i<=b;i++) {
			if(c%i==0) {
				count++;
			}
		}

		System.out.println(count);

		sc.close();
	}
} public class Main {
	public static void main(String[] args) throws IOException{
		Scanner sc = new Scanner(System.in);

		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();

		int count = 0;

		for(int i=a;i<=b;i++) {
			if(c%i==0) {
				count++;
			}
		}

		System.out.println(count);

		sc.close();
	}
} Main
import java.io.IOException;
import java.util.Scanner;
public class Main {
	public static void main(String[] args) throws IOException{
		Scanner sc = new Scanner(System.in);

		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();

		int count = 0;

		for(int i=a;i<=b;i++) {
			if(c%i==0) {
				count++;
			}
		}

		System.out.println(count);

		sc.close();
	}
}
