import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;

public class Main {

	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		int count=0;

		StringTokenizer st1 = new StringTokenizer(br.readLine());
		int a=Integer.parseInt(st1.nextToken());
		int b=Integer.parseInt(st1.nextToken());
		int c=Integer.parseInt(st1.nextToken());
		if(c%a==0){
			count++;
		}
		a++;

		while(a<=b){
			if(c%a==0){
				count++;
			}
			a++;
		}

		System.out.println(count);
	}

}
 import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.StringTokenizer; StringTokenizer java.util public class Main {

	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		int count=0;

		StringTokenizer st1 = new StringTokenizer(br.readLine());
		int a=Integer.parseInt(st1.nextToken());
		int b=Integer.parseInt(st1.nextToken());
		int c=Integer.parseInt(st1.nextToken());
		if(c%a==0){
			count++;
		}
		a++;

		while(a<=b){
			if(c%a==0){
				count++;
			}
			a++;
		}

		System.out.println(count);
	}

} Main public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		int count=0;

		StringTokenizer st1 = new StringTokenizer(br.readLine());
		int a=Integer.parseInt(st1.nextToken());
		int b=Integer.parseInt(st1.nextToken());
		int c=Integer.parseInt(st1.nextToken());
		if(c%a==0){
			count++;
		}
		a++;

		while(a<=b){
			if(c%a==0){
				count++;
			}
			a++;
		}

		System.out.println(count);
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		int count=0;

		StringTokenizer st1 = new StringTokenizer(br.readLine());
		int a=Integer.parseInt(st1.nextToken());
		int b=Integer.parseInt(st1.nextToken());
		int c=Integer.parseInt(st1.nextToken());
		if(c%a==0){
			count++;
		}
		a++;

		while(a<=b){
			if(c%a==0){
				count++;
			}
			a++;
		}

		System.out.println(count);
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) int count=0; count 0 StringTokenizer st1 = new StringTokenizer(br.readLine()); st1 new StringTokenizer(br.readLine()) int a=Integer.parseInt(st1.nextToken()); a Integer.parseInt(st1.nextToken()) Integer.parseInt Integer st1.nextToken() st1.nextToken st1 int b=Integer.parseInt(st1.nextToken()); b Integer.parseInt(st1.nextToken()) Integer.parseInt Integer st1.nextToken() st1.nextToken st1 int c=Integer.parseInt(st1.nextToken()); c Integer.parseInt(st1.nextToken()) Integer.parseInt Integer st1.nextToken() st1.nextToken st1 if(c%a==0){
			count++;
		} c%a==0 c%a c a 0 {
			count++;
		} count++ count a++ a while(a<=b){
			if(c%a==0){
				count++;
			}
			a++;
		} a<=b a b {
			if(c%a==0){
				count++;
			}
			a++;
		} if(c%a==0){
				count++;
			} c%a==0 c%a c a 0 {
				count++;
			} count++ count a++ a System.out.println(count) System.out.println System.out System System.out count String[] args args public class Main {

	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		int count=0;

		StringTokenizer st1 = new StringTokenizer(br.readLine());
		int a=Integer.parseInt(st1.nextToken());
		int b=Integer.parseInt(st1.nextToken());
		int c=Integer.parseInt(st1.nextToken());
		if(c%a==0){
			count++;
		}
		a++;

		while(a<=b){
			if(c%a==0){
				count++;
			}
			a++;
		}

		System.out.println(count);
	}

} public class Main {

	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		int count=0;

		StringTokenizer st1 = new StringTokenizer(br.readLine());
		int a=Integer.parseInt(st1.nextToken());
		int b=Integer.parseInt(st1.nextToken());
		int c=Integer.parseInt(st1.nextToken());
		if(c%a==0){
			count++;
		}
		a++;

		while(a<=b){
			if(c%a==0){
				count++;
			}
			a++;
		}

		System.out.println(count);
	}

} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;

public class Main {

	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		int count=0;

		StringTokenizer st1 = new StringTokenizer(br.readLine());
		int a=Integer.parseInt(st1.nextToken());
		int b=Integer.parseInt(st1.nextToken());
		int c=Integer.parseInt(st1.nextToken());
		if(c%a==0){
			count++;
		}
		a++;

		while(a<=b){
			if(c%a==0){
				count++;
			}
			a++;
		}

		System.out.println(count);
	}

}

