import java.util.Scanner;

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

class Main {
	@SuppressWarnings("resource")
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();
		int ans = 0;
		
		for(int i = a;i <= b; i++){
	        if(c % i == 0) ans++;
	    }
		System.out.println(ans);
	}
}