import java.io.IOException;
import java.util.Scanner;

class Main {

	public static void main(String[] args) throws IOException {

		Scanner scan = new Scanner(System.in);

		int a, b,c;
		int counter = 0;

		a = scan.nextInt();
		b = scan.nextInt();
		c = scan.nextInt();

		for(int i = a; i<=b;i++){

			if((c%i)==0){
				counter++;
			}
		}
		System.out.println(counter);



	}
} import java.io.IOException; IOException java.io import java.util.Scanner; Scanner java.util class Main {

	public static void main(String[] args) throws IOException {

		Scanner scan = new Scanner(System.in);

		int a, b,c;
		int counter = 0;

		a = scan.nextInt();
		b = scan.nextInt();
		c = scan.nextInt();

		for(int i = a; i<=b;i++){

			if((c%i)==0){
				counter++;
			}
		}
		System.out.println(counter);



	}
} Main public static void main(String[] args) throws IOException {

		Scanner scan = new Scanner(System.in);

		int a, b,c;
		int counter = 0;

		a = scan.nextInt();
		b = scan.nextInt();
		c = scan.nextInt();

		for(int i = a; i<=b;i++){

			if((c%i)==0){
				counter++;
			}
		}
		System.out.println(counter);



	} main {

		Scanner scan = new Scanner(System.in);

		int a, b,c;
		int counter = 0;

		a = scan.nextInt();
		b = scan.nextInt();
		c = scan.nextInt();

		for(int i = a; i<=b;i++){

			if((c%i)==0){
				counter++;
			}
		}
		System.out.println(counter);



	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int a a b b c; c int counter = 0; counter 0 a = scan.nextInt() a scan.nextInt() scan.nextInt scan b = scan.nextInt() b scan.nextInt() scan.nextInt scan c = scan.nextInt() c scan.nextInt() scan.nextInt scan for(int i = a; i<=b;i++){

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

			if((c%i)==0){
				counter++;
			}
		} {

			if((c%i)==0){
				counter++;
			}
		} if((c%i)==0){
				counter++;
			} (c%i)==0 (c%i) c i 0 {
				counter++;
			} counter++ counter System.out.println(counter) System.out.println System.out System System.out counter String[] args args
import java.io.IOException;
import java.util.Scanner;

class Main {

	public static void main(String[] args) throws IOException {

		Scanner scan = new Scanner(System.in);

		int a, b,c;
		int counter = 0;

		a = scan.nextInt();
		b = scan.nextInt();
		c = scan.nextInt();

		for(int i = a; i<=b;i++){

			if((c%i)==0){
				counter++;
			}
		}
		System.out.println(counter);



	}
}