import java.util.Scanner;
class Main {
    public void kami() {
                Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int x,j = 0;
		
		for(int i = a; i <= b; i++){
			x = c % i;
			if(x == 0){
				j++;
			}
			
		}
		System.out.println(j);

    }
	public static void main(String[] args) {
    new Main().kami();
	}

} import java.util.Scanner; Scanner java.util class Main {
    public void kami() {
                Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int x,j = 0;
		
		for(int i = a; i <= b; i++){
			x = c % i;
			if(x == 0){
				j++;
			}
			
		}
		System.out.println(j);

    }
	public static void main(String[] args) {
    new Main().kami();
	}

} Main public void kami() {
                Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int x,j = 0;
		
		for(int i = a; i <= b; i++){
			x = c % i;
			if(x == 0){
				j++;
			}
			
		}
		System.out.println(j);

    } kami {
                Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int x,j = 0;
		
		for(int i = a; i <= b; i++){
			x = c % i;
			if(x == 0){
				j++;
			}
			
		}
		System.out.println(j);

    } 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 x x j = 0; j 0 for(int i = a; i <= b; i++){
			x = c % i;
			if(x == 0){
				j++;
			}
			
		} int i = a; int i = a; i a i <= b i b i++ i++ i {
			x = c % i;
			if(x == 0){
				j++;
			}
			
		} {
			x = c % i;
			if(x == 0){
				j++;
			}
			
		} x = c % i x c % i c i if(x == 0){
				j++;
			} x == 0 x 0 {
				j++;
			} j++ j System.out.println(j) System.out.println System.out System System.out j public static void main(String[] args) {
    new Main().kami();
	} main {
    new Main().kami();
	} new Main().kami() new Main().kami new Main() String[] args args
import java.util.Scanner;
class Main {
    public void kami() {
                Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int x,j = 0;
		
		for(int i = a; i <= b; i++){
			x = c % i;
			if(x == 0){
				j++;
			}
			
		}
		System.out.println(j);

    }
	public static void main(String[] args) {
    new Main().kami();
	}

}