import java.util.Scanner;
public class Main {
	public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);
		int a = stdIn.nextInt();
		int b = stdIn.nextInt();
		int c = stdIn.nextInt();
		int counter = 0;
		int[] divisors = new int[10000];
		for(int i = a; i <= b && i <= c; i++ ) {
			if(c % i == 0) {
				divisors[counter] = i;
				counter++;
				
			}
		}
		
		System.out.println(counter);
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);
		int a = stdIn.nextInt();
		int b = stdIn.nextInt();
		int c = stdIn.nextInt();
		int counter = 0;
		int[] divisors = new int[10000];
		for(int i = a; i <= b && i <= c; i++ ) {
			if(c % i == 0) {
				divisors[counter] = i;
				counter++;
				
			}
		}
		
		System.out.println(counter);
	}
} Main public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);
		int a = stdIn.nextInt();
		int b = stdIn.nextInt();
		int c = stdIn.nextInt();
		int counter = 0;
		int[] divisors = new int[10000];
		for(int i = a; i <= b && i <= c; i++ ) {
			if(c % i == 0) {
				divisors[counter] = i;
				counter++;
				
			}
		}
		
		System.out.println(counter);
	} main {
		Scanner stdIn = new Scanner(System.in);
		int a = stdIn.nextInt();
		int b = stdIn.nextInt();
		int c = stdIn.nextInt();
		int counter = 0;
		int[] divisors = new int[10000];
		for(int i = a; i <= b && i <= c; i++ ) {
			if(c % i == 0) {
				divisors[counter] = i;
				counter++;
				
			}
		}
		
		System.out.println(counter);
	} Scanner stdIn = new Scanner(System.in); stdIn new Scanner(System.in) int a = stdIn.nextInt(); a stdIn.nextInt() stdIn.nextInt stdIn int b = stdIn.nextInt(); b stdIn.nextInt() stdIn.nextInt stdIn int c = stdIn.nextInt(); c stdIn.nextInt() stdIn.nextInt stdIn int counter = 0; counter 0 int[] divisors = new int[10000]; divisors new int[10000] 10000 for(int i = a; i <= b && i <= c; i++ ) {
			if(c % i == 0) {
				divisors[counter] = i;
				counter++;
				
			}
		} int i = a; int i = a; i a i <= b && i <= c i <= b i b i <= c i c i++ i++ i {
			if(c % i == 0) {
				divisors[counter] = i;
				counter++;
				
			}
		} {
			if(c % i == 0) {
				divisors[counter] = i;
				counter++;
				
			}
		} if(c % i == 0) {
				divisors[counter] = i;
				counter++;
				
			} c % i == 0 c % i c i 0 {
				divisors[counter] = i;
				counter++;
				
			} divisors[counter] = i divisors[counter] divisors counter i counter++ counter System.out.println(counter) System.out.println System.out System System.out counter String[] args args public class Main {
	public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);
		int a = stdIn.nextInt();
		int b = stdIn.nextInt();
		int c = stdIn.nextInt();
		int counter = 0;
		int[] divisors = new int[10000];
		for(int i = a; i <= b && i <= c; i++ ) {
			if(c % i == 0) {
				divisors[counter] = i;
				counter++;
				
			}
		}
		
		System.out.println(counter);
	}
} public class Main {
	public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);
		int a = stdIn.nextInt();
		int b = stdIn.nextInt();
		int c = stdIn.nextInt();
		int counter = 0;
		int[] divisors = new int[10000];
		for(int i = a; i <= b && i <= c; i++ ) {
			if(c % i == 0) {
				divisors[counter] = i;
				counter++;
				
			}
		}
		
		System.out.println(counter);
	}
} Main
import java.util.Scanner;
public class Main {
	public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);
		int a = stdIn.nextInt();
		int b = stdIn.nextInt();
		int c = stdIn.nextInt();
		int counter = 0;
		int[] divisors = new int[10000];
		for(int i = a; i <= b && i <= c; i++ ) {
			if(c % i == 0) {
				divisors[counter] = i;
				counter++;
				
			}
		}
		
		System.out.println(counter);
	}
}