import java.util.*;
public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int inf = scan.nextInt();
		int sup = scan.nextInt();
		int num = scan.nextInt();
		int count = 0;
		
		if (inf < 1 || sup < 1 || num < 1 || inf > 10000 || sup > 10000 || num > 10000 || inf > sup) {
			System.out.println("Error!");
		}
		
		for (int i = inf; i <= sup; i++) {
			if ((num % i) == 0) {
				count++;
			}
		}
		
		System.out.println(count);
	}

} import java.util.*; util.* java public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int inf = scan.nextInt();
		int sup = scan.nextInt();
		int num = scan.nextInt();
		int count = 0;
		
		if (inf < 1 || sup < 1 || num < 1 || inf > 10000 || sup > 10000 || num > 10000 || inf > sup) {
			System.out.println("Error!");
		}
		
		for (int i = inf; i <= sup; i++) {
			if ((num % i) == 0) {
				count++;
			}
		}
		
		System.out.println(count);
	}

} Main public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int inf = scan.nextInt();
		int sup = scan.nextInt();
		int num = scan.nextInt();
		int count = 0;
		
		if (inf < 1 || sup < 1 || num < 1 || inf > 10000 || sup > 10000 || num > 10000 || inf > sup) {
			System.out.println("Error!");
		}
		
		for (int i = inf; i <= sup; i++) {
			if ((num % i) == 0) {
				count++;
			}
		}
		
		System.out.println(count);
	} main {
		Scanner scan = new Scanner(System.in);
		int inf = scan.nextInt();
		int sup = scan.nextInt();
		int num = scan.nextInt();
		int count = 0;
		
		if (inf < 1 || sup < 1 || num < 1 || inf > 10000 || sup > 10000 || num > 10000 || inf > sup) {
			System.out.println("Error!");
		}
		
		for (int i = inf; i <= sup; i++) {
			if ((num % i) == 0) {
				count++;
			}
		}
		
		System.out.println(count);
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int inf = scan.nextInt(); inf scan.nextInt() scan.nextInt scan int sup = scan.nextInt(); sup scan.nextInt() scan.nextInt scan int num = scan.nextInt(); num scan.nextInt() scan.nextInt scan int count = 0; count 0 if (inf < 1 || sup < 1 || num < 1 || inf > 10000 || sup > 10000 || num > 10000 || inf > sup) {
			System.out.println("Error!");
		} inf < 1 || sup < 1 || num < 1 || inf > 10000 || sup > 10000 || num > 10000 || inf > sup num > 10000 sup > 10000 inf > 10000 num < 1 inf < 1 || sup < 1 || num < 1 || inf > 10000 || sup > 10000 || num > 10000 || inf > sup inf < 1 inf 1 sup < 1 sup 1 num < 1 num 1 inf > 10000 inf 10000 sup > 10000 sup 10000 num > 10000 num 10000 inf > sup inf sup {
			System.out.println("Error!");
		} System.out.println("Error!") System.out.println System.out System System.out "Error!" for (int i = inf; i <= sup; i++) {
			if ((num % i) == 0) {
				count++;
			}
		} int i = inf; int i = inf; i inf i <= sup i sup i++ i++ i {
			if ((num % i) == 0) {
				count++;
			}
		} {
			if ((num % i) == 0) {
				count++;
			}
		} if ((num % i) == 0) {
				count++;
			} (num % i) == 0 (num % i) num i 0 {
				count++;
			} count++ count System.out.println(count) System.out.println System.out System System.out count String[] args args public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int inf = scan.nextInt();
		int sup = scan.nextInt();
		int num = scan.nextInt();
		int count = 0;
		
		if (inf < 1 || sup < 1 || num < 1 || inf > 10000 || sup > 10000 || num > 10000 || inf > sup) {
			System.out.println("Error!");
		}
		
		for (int i = inf; i <= sup; i++) {
			if ((num % i) == 0) {
				count++;
			}
		}
		
		System.out.println(count);
	}

} public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int inf = scan.nextInt();
		int sup = scan.nextInt();
		int num = scan.nextInt();
		int count = 0;
		
		if (inf < 1 || sup < 1 || num < 1 || inf > 10000 || sup > 10000 || num > 10000 || inf > sup) {
			System.out.println("Error!");
		}
		
		for (int i = inf; i <= sup; i++) {
			if ((num % i) == 0) {
				count++;
			}
		}
		
		System.out.println(count);
	}

} Main
import java.util.*;
public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int inf = scan.nextInt();
		int sup = scan.nextInt();
		int num = scan.nextInt();
		int count = 0;
		
		if (inf < 1 || sup < 1 || num < 1 || inf > 10000 || sup > 10000 || num > 10000 || inf > sup) {
			System.out.println("Error!");
		}
		
		for (int i = inf; i <= sup; i++) {
			if ((num % i) == 0) {
				count++;
			}
		}
		
		System.out.println(count);
	}

}