import java.util.Scanner;

public class Main{
	public static void main(String args[]){

		Scanner sc = new Scanner(System.in);
		int intA = sc.nextInt();
		int intB = sc.nextInt();
		int intC = sc.nextInt();
		int intKosuu = 0;

		for(int i = intA; i <= intB; i++){

			if(intC % i == 0){
				intKosuu++;
			}
		}

		System.out.println(intKosuu);
	}
} import java.util.Scanner; Scanner java.util public class Main{
	public static void main(String args[]){

		Scanner sc = new Scanner(System.in);
		int intA = sc.nextInt();
		int intB = sc.nextInt();
		int intC = sc.nextInt();
		int intKosuu = 0;

		for(int i = intA; i <= intB; i++){

			if(intC % i == 0){
				intKosuu++;
			}
		}

		System.out.println(intKosuu);
	}
} Main public static void main(String args[]){

		Scanner sc = new Scanner(System.in);
		int intA = sc.nextInt();
		int intB = sc.nextInt();
		int intC = sc.nextInt();
		int intKosuu = 0;

		for(int i = intA; i <= intB; i++){

			if(intC % i == 0){
				intKosuu++;
			}
		}

		System.out.println(intKosuu);
	} main {

		Scanner sc = new Scanner(System.in);
		int intA = sc.nextInt();
		int intB = sc.nextInt();
		int intC = sc.nextInt();
		int intKosuu = 0;

		for(int i = intA; i <= intB; i++){

			if(intC % i == 0){
				intKosuu++;
			}
		}

		System.out.println(intKosuu);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int intA = sc.nextInt(); intA sc.nextInt() sc.nextInt sc int intB = sc.nextInt(); intB sc.nextInt() sc.nextInt sc int intC = sc.nextInt(); intC sc.nextInt() sc.nextInt sc int intKosuu = 0; intKosuu 0 for(int i = intA; i <= intB; i++){

			if(intC % i == 0){
				intKosuu++;
			}
		} int i = intA; int i = intA; i intA i <= intB i intB i++ i++ i {

			if(intC % i == 0){
				intKosuu++;
			}
		} {

			if(intC % i == 0){
				intKosuu++;
			}
		} if(intC % i == 0){
				intKosuu++;
			} intC % i == 0 intC % i intC i 0 {
				intKosuu++;
			} intKosuu++ intKosuu System.out.println(intKosuu) System.out.println System.out System System.out intKosuu String args[] args public class Main{
	public static void main(String args[]){

		Scanner sc = new Scanner(System.in);
		int intA = sc.nextInt();
		int intB = sc.nextInt();
		int intC = sc.nextInt();
		int intKosuu = 0;

		for(int i = intA; i <= intB; i++){

			if(intC % i == 0){
				intKosuu++;
			}
		}

		System.out.println(intKosuu);
	}
} public class Main{
	public static void main(String args[]){

		Scanner sc = new Scanner(System.in);
		int intA = sc.nextInt();
		int intB = sc.nextInt();
		int intC = sc.nextInt();
		int intKosuu = 0;

		for(int i = intA; i <= intB; i++){

			if(intC % i == 0){
				intKosuu++;
			}
		}

		System.out.println(intKosuu);
	}
} Main
import java.util.Scanner;

public class Main{
	public static void main(String args[]){

		Scanner sc = new Scanner(System.in);
		int intA = sc.nextInt();
		int intB = sc.nextInt();
		int intC = sc.nextInt();
		int intKosuu = 0;

		for(int i = intA; i <= intB; i++){

			if(intC % i == 0){
				intKosuu++;
			}
		}

		System.out.println(intKosuu);
	}
}