import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);

		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		Integer count = 0;

		if (c < a) {
			System.out.println(count);
			return;
		}
		
		if(a == b && b == c) {
			System.out.println(1);
			return;
		}

		while (true) {

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

			if (a == b) {
				System.out.println(count);
				return;
			}

			a++;
		}

	}

} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);

		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		Integer count = 0;

		if (c < a) {
			System.out.println(count);
			return;
		}
		
		if(a == b && b == c) {
			System.out.println(1);
			return;
		}

		while (true) {

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

			if (a == b) {
				System.out.println(count);
				return;
			}

			a++;
		}

	}

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

		Scanner sc = new Scanner(System.in);

		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		Integer count = 0;

		if (c < a) {
			System.out.println(count);
			return;
		}
		
		if(a == b && b == c) {
			System.out.println(1);
			return;
		}

		while (true) {

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

			if (a == b) {
				System.out.println(count);
				return;
			}

			a++;
		}

	} main {

		Scanner sc = new Scanner(System.in);

		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		Integer count = 0;

		if (c < a) {
			System.out.println(count);
			return;
		}
		
		if(a == b && b == c) {
			System.out.println(1);
			return;
		}

		while (true) {

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

			if (a == b) {
				System.out.println(count);
				return;
			}

			a++;
		}

	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc int b = sc.nextInt(); b sc.nextInt() sc.nextInt sc int c = sc.nextInt(); c sc.nextInt() sc.nextInt sc Integer count = 0; count 0 if (c < a) {
			System.out.println(count);
			return;
		} c < a c a {
			System.out.println(count);
			return;
		} System.out.println(count) System.out.println System.out System System.out count return; if(a == b && b == c) {
			System.out.println(1);
			return;
		} a == b && b == c a == b a b b == c b c {
			System.out.println(1);
			return;
		} System.out.println(1) System.out.println System.out System System.out 1 return; while (true) {

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

			if (a == b) {
				System.out.println(count);
				return;
			}

			a++;
		} true {

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

			if (a == b) {
				System.out.println(count);
				return;
			}

			a++;
		} if (c % a == 0) {
				count++;
			} c % a == 0 c % a c a 0 {
				count++;
			} count++ count if (a == b) {
				System.out.println(count);
				return;
			} a == b a b {
				System.out.println(count);
				return;
			} System.out.println(count) System.out.println System.out System System.out count return; a++ a String[] args args public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);

		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		Integer count = 0;

		if (c < a) {
			System.out.println(count);
			return;
		}
		
		if(a == b && b == c) {
			System.out.println(1);
			return;
		}

		while (true) {

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

			if (a == b) {
				System.out.println(count);
				return;
			}

			a++;
		}

	}

} public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);

		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		Integer count = 0;

		if (c < a) {
			System.out.println(count);
			return;
		}
		
		if(a == b && b == c) {
			System.out.println(1);
			return;
		}

		while (true) {

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

			if (a == b) {
				System.out.println(count);
				return;
			}

			a++;
		}

	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);

		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		Integer count = 0;

		if (c < a) {
			System.out.println(count);
			return;
		}
		
		if(a == b && b == c) {
			System.out.println(1);
			return;
		}

		while (true) {

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

			if (a == b) {
				System.out.println(count);
				return;
			}

			a++;
		}

	}

}
