import java.util.*;

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

		Scanner scan = new Scanner(System.in);
		int num1 = scan.nextInt();
		int num2 = scan.nextInt();
		int num3 = scan.nextInt();
		int con = 0;
		int div = 0;
			
		do{
			if(num3 % (num1 + con) == 0) {
				div++;
			}
			else{}
			con++;
		}while(num1 + con <= num2);

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

		Scanner scan = new Scanner(System.in);
		int num1 = scan.nextInt();
		int num2 = scan.nextInt();
		int num3 = scan.nextInt();
		int con = 0;
		int div = 0;
			
		do{
			if(num3 % (num1 + con) == 0) {
				div++;
			}
			else{}
			con++;
		}while(num1 + con <= num2);

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

		Scanner scan = new Scanner(System.in);
		int num1 = scan.nextInt();
		int num2 = scan.nextInt();
		int num3 = scan.nextInt();
		int con = 0;
		int div = 0;
			
		do{
			if(num3 % (num1 + con) == 0) {
				div++;
			}
			else{}
			con++;
		}while(num1 + con <= num2);

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

		Scanner scan = new Scanner(System.in);
		int num1 = scan.nextInt();
		int num2 = scan.nextInt();
		int num3 = scan.nextInt();
		int con = 0;
		int div = 0;
			
		do{
			if(num3 % (num1 + con) == 0) {
				div++;
			}
			else{}
			con++;
		}while(num1 + con <= num2);

		System.out.println(div);
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int num1 = scan.nextInt(); num1 scan.nextInt() scan.nextInt scan int num2 = scan.nextInt(); num2 scan.nextInt() scan.nextInt scan int num3 = scan.nextInt(); num3 scan.nextInt() scan.nextInt scan int con = 0; con 0 int div = 0; div 0 do{
			if(num3 % (num1 + con) == 0) {
				div++;
			}
			else{}
			con++;
		}while(num1 + con <= num2); num1 + con <= num2 num1 + con num1 con num2 {
			if(num3 % (num1 + con) == 0) {
				div++;
			}
			else{}
			con++;
		} if(num3 % (num1 + con) == 0) {
				div++;
			}
			else{} num3 % (num1 + con) == 0 num3 % (num1 + con) num3 (num1 + con) num1 con 0 {
				div++;
			} div++ div {} con++ con System.out.println(div) System.out.println System.out System System.out div String args[] args
import java.util.*;

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

		Scanner scan = new Scanner(System.in);
		int num1 = scan.nextInt();
		int num2 = scan.nextInt();
		int num3 = scan.nextInt();
		int con = 0;
		int div = 0;
			
		do{
			if(num3 % (num1 + con) == 0) {
				div++;
			}
			else{}
			con++;
		}while(num1 + con <= num2);

		System.out.println(div);
	}
}