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 sum = 0;
		for(int x = a;x <= b;x++){
			if(c % x == 0){
				sum++;
			}
		}
		System.out.println(sum);
		sc.close();
	}
} 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 sum = 0;
		for(int x = a;x <= b;x++){
			if(c % x == 0){
				sum++;
			}
		}
		System.out.println(sum);
		sc.close();
	}
} 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 sum = 0;
		for(int x = a;x <= b;x++){
			if(c % x == 0){
				sum++;
			}
		}
		System.out.println(sum);
		sc.close();
	} main {
		Scanner sc = new Scanner(System.in);
		
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int sum = 0;
		for(int x = a;x <= b;x++){
			if(c % x == 0){
				sum++;
			}
		}
		System.out.println(sum);
		sc.close();
	} 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 sum = 0; sum 0 for(int x = a;x <= b;x++){
			if(c % x == 0){
				sum++;
			}
		} int x = a; int x = a; x a x <= b x b x++ x++ x {
			if(c % x == 0){
				sum++;
			}
		} {
			if(c % x == 0){
				sum++;
			}
		} if(c % x == 0){
				sum++;
			} c % x == 0 c % x c x 0 {
				sum++;
			} sum++ sum System.out.println(sum) System.out.println System.out System System.out sum sc.close() sc.close sc 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 sum = 0;
		for(int x = a;x <= b;x++){
			if(c % x == 0){
				sum++;
			}
		}
		System.out.println(sum);
		sc.close();
	}
} 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 sum = 0;
		for(int x = a;x <= b;x++){
			if(c % x == 0){
				sum++;
			}
		}
		System.out.println(sum);
		sc.close();
	}
} 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 sum = 0;
		for(int x = a;x <= b;x++){
			if(c % x == 0){
				sum++;
			}
		}
		System.out.println(sum);
		sc.close();
	}
}