import java.io.IOException;
import java.io.PrintWriter;
import java.util.Scanner;


public class Main {
	public void exec() throws IOException {
		Scanner input = new Scanner(System.in);
		PrintWriter out = new PrintWriter(System.out);
		int a = input.nextInt();
		int b = input.nextInt();
		int c = input.nextInt();
		int cSqrt = (int)Math.sqrt(c);
		int divcnt = 0;
		int div = 0;
		for (int i=1; i<=cSqrt && i<=b; i++) {
			if(c%i == 0){
				if(a <= i && i <= b) divcnt++;
				div = c/i;
				if(i != div && a <= div && div <= b) divcnt++;
			}
		}
		out.println(divcnt);
		out.flush();
		input.close();
	}

	public static void main(String[] args) throws IOException {
		new Main().exec();
	}
} import java.io.IOException; IOException java.io import java.io.PrintWriter; PrintWriter java.io import java.util.Scanner; Scanner java.util public class Main {
	public void exec() throws IOException {
		Scanner input = new Scanner(System.in);
		PrintWriter out = new PrintWriter(System.out);
		int a = input.nextInt();
		int b = input.nextInt();
		int c = input.nextInt();
		int cSqrt = (int)Math.sqrt(c);
		int divcnt = 0;
		int div = 0;
		for (int i=1; i<=cSqrt && i<=b; i++) {
			if(c%i == 0){
				if(a <= i && i <= b) divcnt++;
				div = c/i;
				if(i != div && a <= div && div <= b) divcnt++;
			}
		}
		out.println(divcnt);
		out.flush();
		input.close();
	}

	public static void main(String[] args) throws IOException {
		new Main().exec();
	}
} Main public void exec() throws IOException {
		Scanner input = new Scanner(System.in);
		PrintWriter out = new PrintWriter(System.out);
		int a = input.nextInt();
		int b = input.nextInt();
		int c = input.nextInt();
		int cSqrt = (int)Math.sqrt(c);
		int divcnt = 0;
		int div = 0;
		for (int i=1; i<=cSqrt && i<=b; i++) {
			if(c%i == 0){
				if(a <= i && i <= b) divcnt++;
				div = c/i;
				if(i != div && a <= div && div <= b) divcnt++;
			}
		}
		out.println(divcnt);
		out.flush();
		input.close();
	} exec {
		Scanner input = new Scanner(System.in);
		PrintWriter out = new PrintWriter(System.out);
		int a = input.nextInt();
		int b = input.nextInt();
		int c = input.nextInt();
		int cSqrt = (int)Math.sqrt(c);
		int divcnt = 0;
		int div = 0;
		for (int i=1; i<=cSqrt && i<=b; i++) {
			if(c%i == 0){
				if(a <= i && i <= b) divcnt++;
				div = c/i;
				if(i != div && a <= div && div <= b) divcnt++;
			}
		}
		out.println(divcnt);
		out.flush();
		input.close();
	} Scanner input = new Scanner(System.in); input new Scanner(System.in) PrintWriter out = new PrintWriter(System.out); out new PrintWriter(System.out) int a = input.nextInt(); a input.nextInt() input.nextInt input int b = input.nextInt(); b input.nextInt() input.nextInt input int c = input.nextInt(); c input.nextInt() input.nextInt input int cSqrt = (int)Math.sqrt(c); cSqrt (int)Math.sqrt(c) Math.sqrt Math c int divcnt = 0; divcnt 0 int div = 0; div 0 for (int i=1; i<=cSqrt && i<=b; i++) {
			if(c%i == 0){
				if(a <= i && i <= b) divcnt++;
				div = c/i;
				if(i != div && a <= div && div <= b) divcnt++;
			}
		} int i=1; int i=1; i 1 i<=cSqrt && i<=b i<=cSqrt i cSqrt i<=b i b i++ i++ i {
			if(c%i == 0){
				if(a <= i && i <= b) divcnt++;
				div = c/i;
				if(i != div && a <= div && div <= b) divcnt++;
			}
		} {
			if(c%i == 0){
				if(a <= i && i <= b) divcnt++;
				div = c/i;
				if(i != div && a <= div && div <= b) divcnt++;
			}
		} if(c%i == 0){
				if(a <= i && i <= b) divcnt++;
				div = c/i;
				if(i != div && a <= div && div <= b) divcnt++;
			} c%i == 0 c%i c i 0 {
				if(a <= i && i <= b) divcnt++;
				div = c/i;
				if(i != div && a <= div && div <= b) divcnt++;
			} if(a <= i && i <= b) divcnt++; a <= i && i <= b a <= i a i i <= b i b divcnt++ divcnt div = c/i div c/i c i if(i != div && a <= div && div <= b) divcnt++; i != div && a <= div && div <= b i != div && a <= div && div <= b i != div i div a <= div a div div <= b div b divcnt++ divcnt out.println(divcnt) out.println out divcnt out.flush() out.flush out input.close() input.close input public static void main(String[] args) throws IOException {
		new Main().exec();
	} main {
		new Main().exec();
	} new Main().exec() new Main().exec new Main() String[] args args public class Main {
	public void exec() throws IOException {
		Scanner input = new Scanner(System.in);
		PrintWriter out = new PrintWriter(System.out);
		int a = input.nextInt();
		int b = input.nextInt();
		int c = input.nextInt();
		int cSqrt = (int)Math.sqrt(c);
		int divcnt = 0;
		int div = 0;
		for (int i=1; i<=cSqrt && i<=b; i++) {
			if(c%i == 0){
				if(a <= i && i <= b) divcnt++;
				div = c/i;
				if(i != div && a <= div && div <= b) divcnt++;
			}
		}
		out.println(divcnt);
		out.flush();
		input.close();
	}

	public static void main(String[] args) throws IOException {
		new Main().exec();
	}
} public class Main {
	public void exec() throws IOException {
		Scanner input = new Scanner(System.in);
		PrintWriter out = new PrintWriter(System.out);
		int a = input.nextInt();
		int b = input.nextInt();
		int c = input.nextInt();
		int cSqrt = (int)Math.sqrt(c);
		int divcnt = 0;
		int div = 0;
		for (int i=1; i<=cSqrt && i<=b; i++) {
			if(c%i == 0){
				if(a <= i && i <= b) divcnt++;
				div = c/i;
				if(i != div && a <= div && div <= b) divcnt++;
			}
		}
		out.println(divcnt);
		out.flush();
		input.close();
	}

	public static void main(String[] args) throws IOException {
		new Main().exec();
	}
} Main
import java.io.IOException;
import java.io.PrintWriter;
import java.util.Scanner;


public class Main {
	public void exec() throws IOException {
		Scanner input = new Scanner(System.in);
		PrintWriter out = new PrintWriter(System.out);
		int a = input.nextInt();
		int b = input.nextInt();
		int c = input.nextInt();
		int cSqrt = (int)Math.sqrt(c);
		int divcnt = 0;
		int div = 0;
		for (int i=1; i<=cSqrt && i<=b; i++) {
			if(c%i == 0){
				if(a <= i && i <= b) divcnt++;
				div = c/i;
				if(i != div && a <= div && div <= b) divcnt++;
			}
		}
		out.println(divcnt);
		out.flush();
		input.close();
	}

	public static void main(String[] args) throws IOException {
		new Main().exec();
	}
}