import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int yaku = 0;

		while(a<=b){
			
			if (c % a == 0) {
				yaku++;
			}

			a++;
		}
		System.out.println(yaku);
	}

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

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int yaku = 0;

		while(a<=b){
			
			if (c % a == 0) {
				yaku++;
			}

			a++;
		}
		System.out.println(yaku);
	}

} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int yaku = 0;

		while(a<=b){
			
			if (c % a == 0) {
				yaku++;
			}

			a++;
		}
		System.out.println(yaku);
	} main {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int yaku = 0;

		while(a<=b){
			
			if (c % a == 0) {
				yaku++;
			}

			a++;
		}
		System.out.println(yaku);
	} 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 yaku = 0; yaku 0 while(a<=b){
			
			if (c % a == 0) {
				yaku++;
			}

			a++;
		} a<=b a b {
			
			if (c % a == 0) {
				yaku++;
			}

			a++;
		} if (c % a == 0) {
				yaku++;
			} c % a == 0 c % a c a 0 {
				yaku++;
			} yaku++ yaku a++ a System.out.println(yaku) System.out.println System.out System System.out yaku String[] args args public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int yaku = 0;

		while(a<=b){
			
			if (c % a == 0) {
				yaku++;
			}

			a++;
		}
		System.out.println(yaku);
	}

} public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int yaku = 0;

		while(a<=b){
			
			if (c % a == 0) {
				yaku++;
			}

			a++;
		}
		System.out.println(yaku);
	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int yaku = 0;

		while(a<=b){
			
			if (c % a == 0) {
				yaku++;
			}

			a++;
		}
		System.out.println(yaku);
	}

}

