import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		int a = 0;
		int b = 0;
		int c = 0;
		int div = 0;

		try(Scanner scan = new Scanner(System.in)) {
			a = scan.nextInt();
			b = scan.nextInt();
			c = scan.nextInt();

			for(int i = a; i <= b; i++) {
				if(c % i == 0) {
					div++;
				}
			}
			System.out.println(div);
		}
	}
} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		int a = 0;
		int b = 0;
		int c = 0;
		int div = 0;

		try(Scanner scan = new Scanner(System.in)) {
			a = scan.nextInt();
			b = scan.nextInt();
			c = scan.nextInt();

			for(int i = a; i <= b; i++) {
				if(c % i == 0) {
					div++;
				}
			}
			System.out.println(div);
		}
	}
} Main public static void main(String[] args) {
		int a = 0;
		int b = 0;
		int c = 0;
		int div = 0;

		try(Scanner scan = new Scanner(System.in)) {
			a = scan.nextInt();
			b = scan.nextInt();
			c = scan.nextInt();

			for(int i = a; i <= b; i++) {
				if(c % i == 0) {
					div++;
				}
			}
			System.out.println(div);
		}
	} main {
		int a = 0;
		int b = 0;
		int c = 0;
		int div = 0;

		try(Scanner scan = new Scanner(System.in)) {
			a = scan.nextInt();
			b = scan.nextInt();
			c = scan.nextInt();

			for(int i = a; i <= b; i++) {
				if(c % i == 0) {
					div++;
				}
			}
			System.out.println(div);
		}
	} int a = 0; a 0 int b = 0; b 0 int c = 0; c 0 int div = 0; div 0 try(Scanner scan = new Scanner(System.in)) {
			a = scan.nextInt();
			b = scan.nextInt();
			c = scan.nextInt();

			for(int i = a; i <= b; i++) {
				if(c % i == 0) {
					div++;
				}
			}
			System.out.println(div);
		} {
			a = scan.nextInt();
			b = scan.nextInt();
			c = scan.nextInt();

			for(int i = a; i <= b; i++) {
				if(c % i == 0) {
					div++;
				}
			}
			System.out.println(div);
		} Scanner scan = new Scanner(System.in) Scanner scan = new Scanner(System.in) new Scanner(System.in) 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) {
					div++;
				}
			} int i = a; int i = a; i a i <= b i b i++ i++ i {
				if(c % i == 0) {
					div++;
				}
			} {
				if(c % i == 0) {
					div++;
				}
			} if(c % i == 0) {
					div++;
				} c % i == 0 c % i c i 0 {
					div++;
				} div++ div System.out.println(div) System.out.println System.out System System.out div String[] args args public class Main {

	public static void main(String[] args) {
		int a = 0;
		int b = 0;
		int c = 0;
		int div = 0;

		try(Scanner scan = new Scanner(System.in)) {
			a = scan.nextInt();
			b = scan.nextInt();
			c = scan.nextInt();

			for(int i = a; i <= b; i++) {
				if(c % i == 0) {
					div++;
				}
			}
			System.out.println(div);
		}
	}
} public class Main {

	public static void main(String[] args) {
		int a = 0;
		int b = 0;
		int c = 0;
		int div = 0;

		try(Scanner scan = new Scanner(System.in)) {
			a = scan.nextInt();
			b = scan.nextInt();
			c = scan.nextInt();

			for(int i = a; i <= b; i++) {
				if(c % i == 0) {
					div++;
				}
			}
			System.out.println(div);
		}
	}
} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		int a = 0;
		int b = 0;
		int c = 0;
		int div = 0;

		try(Scanner scan = new Scanner(System.in)) {
			a = scan.nextInt();
			b = scan.nextInt();
			c = scan.nextInt();

			for(int i = a; i <= b; i++) {
				if(c % i == 0) {
					div++;
				}
			}
			System.out.println(div);
		}
	}
}