import java.io.*;

class Main{
	public static void main(String[] args)throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		String strArr[] = str.split(" ");
		int a, b, c, count=0;

		a = Integer.parseInt(strArr[0]);
		b = Integer.parseInt(strArr[1]);
		c = Integer.parseInt(strArr[2]);

		for(int i=a; i<=b; i++){
			for(int t=1; t*i<=c; t++){
				if(i*t==c)
					count++;
			}
		}

		System.out.println(count);
	}
} import java.io.*; io.* java class Main{
	public static void main(String[] args)throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		String strArr[] = str.split(" ");
		int a, b, c, count=0;

		a = Integer.parseInt(strArr[0]);
		b = Integer.parseInt(strArr[1]);
		c = Integer.parseInt(strArr[2]);

		for(int i=a; i<=b; i++){
			for(int t=1; t*i<=c; t++){
				if(i*t==c)
					count++;
			}
		}

		System.out.println(count);
	}
} Main public static void main(String[] args)throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		String strArr[] = str.split(" ");
		int a, b, c, count=0;

		a = Integer.parseInt(strArr[0]);
		b = Integer.parseInt(strArr[1]);
		c = Integer.parseInt(strArr[2]);

		for(int i=a; i<=b; i++){
			for(int t=1; t*i<=c; t++){
				if(i*t==c)
					count++;
			}
		}

		System.out.println(count);
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		String strArr[] = str.split(" ");
		int a, b, c, count=0;

		a = Integer.parseInt(strArr[0]);
		b = Integer.parseInt(strArr[1]);
		c = Integer.parseInt(strArr[2]);

		for(int i=a; i<=b; i++){
			for(int t=1; t*i<=c; t++){
				if(i*t==c)
					count++;
			}
		}

		System.out.println(count);
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String str = br.readLine(); str br.readLine() br.readLine br String strArr[] = str.split(" "); strArr str.split(" ") str.split str " " int a a b b c c count=0; count 0 a = Integer.parseInt(strArr[0]) a Integer.parseInt(strArr[0]) Integer.parseInt Integer strArr[0] strArr 0 b = Integer.parseInt(strArr[1]) b Integer.parseInt(strArr[1]) Integer.parseInt Integer strArr[1] strArr 1 c = Integer.parseInt(strArr[2]) c Integer.parseInt(strArr[2]) Integer.parseInt Integer strArr[2] strArr 2 for(int i=a; i<=b; i++){
			for(int t=1; t*i<=c; t++){
				if(i*t==c)
					count++;
			}
		} int i=a; int i=a; i a i<=b i b i++ i++ i {
			for(int t=1; t*i<=c; t++){
				if(i*t==c)
					count++;
			}
		} {
			for(int t=1; t*i<=c; t++){
				if(i*t==c)
					count++;
			}
		} for(int t=1; t*i<=c; t++){
				if(i*t==c)
					count++;
			} int t=1; int t=1; t 1 t*i<=c t*i t i c t++ t++ t {
				if(i*t==c)
					count++;
			} {
				if(i*t==c)
					count++;
			} if(i*t==c)
					count++; i*t==c i*t i t c count++ count System.out.println(count) System.out.println System.out System System.out count String[] args args
import java.io.*;

class Main{
	public static void main(String[] args)throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		String strArr[] = str.split(" ");
		int a, b, c, count=0;

		a = Integer.parseInt(strArr[0]);
		b = Integer.parseInt(strArr[1]);
		c = Integer.parseInt(strArr[2]);

		for(int i=a; i<=b; i++){
			for(int t=1; t*i<=c; t++){
				if(i*t==c)
					count++;
			}
		}

		System.out.println(count);
	}
}