import java.util.Scanner;

class Main {
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int x = scan.nextInt();
		int y = scan.nextInt();
		int z = scan.nextInt();
		int sum = 0;
		for(int i = x;i <= y;i++){
			if(z % i == 0)sum++;
		}
		System.out.println(sum);
	}
} import java.util.Scanner; Scanner java.util class Main {
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int x = scan.nextInt();
		int y = scan.nextInt();
		int z = scan.nextInt();
		int sum = 0;
		for(int i = x;i <= y;i++){
			if(z % i == 0)sum++;
		}
		System.out.println(sum);
	}
} Main public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int x = scan.nextInt();
		int y = scan.nextInt();
		int z = scan.nextInt();
		int sum = 0;
		for(int i = x;i <= y;i++){
			if(z % i == 0)sum++;
		}
		System.out.println(sum);
	} main {
		Scanner scan = new Scanner(System.in);
		int x = scan.nextInt();
		int y = scan.nextInt();
		int z = scan.nextInt();
		int sum = 0;
		for(int i = x;i <= y;i++){
			if(z % i == 0)sum++;
		}
		System.out.println(sum);
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int x = scan.nextInt(); x scan.nextInt() scan.nextInt scan int y = scan.nextInt(); y scan.nextInt() scan.nextInt scan int z = scan.nextInt(); z scan.nextInt() scan.nextInt scan int sum = 0; sum 0 for(int i = x;i <= y;i++){
			if(z % i == 0)sum++;
		} int i = x; int i = x; i x i <= y i y i++ i++ i {
			if(z % i == 0)sum++;
		} {
			if(z % i == 0)sum++;
		} if(z % i == 0)sum++; z % i == 0 z % i z i 0 sum++ sum System.out.println(sum) System.out.println System.out System System.out sum String[] args args
import java.util.Scanner;

class Main {
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int x = scan.nextInt();
		int y = scan.nextInt();
		int z = scan.nextInt();
		int sum = 0;
		for(int i = x;i <= y;i++){
			if(z % i == 0)sum++;
		}
		System.out.println(sum);
	}
}