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