import java.util.Scanner;

public class Main {

	public static Scanner scanner = new Scanner(System.in);

	public static void main(String[] args) {

		int counter = 0;
		int a = input();
		int b = input();
		int c = input();

		for (int i = a; i <= b; i++) {

			if (c % i == 0) {

				counter++;

			}
		}

		System.out.println(counter);

		close();

	}

	public static int input() {

		return scanner.nextInt();

	}

	public static void close() {

		if (scanner != null) {

			scanner.close();

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

	public static Scanner scanner = new Scanner(System.in);

	public static void main(String[] args) {

		int counter = 0;
		int a = input();
		int b = input();
		int c = input();

		for (int i = a; i <= b; i++) {

			if (c % i == 0) {

				counter++;

			}
		}

		System.out.println(counter);

		close();

	}

	public static int input() {

		return scanner.nextInt();

	}

	public static void close() {

		if (scanner != null) {

			scanner.close();

		}
	}
} Main public static Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) public static void main(String[] args) {

		int counter = 0;
		int a = input();
		int b = input();
		int c = input();

		for (int i = a; i <= b; i++) {

			if (c % i == 0) {

				counter++;

			}
		}

		System.out.println(counter);

		close();

	} main {

		int counter = 0;
		int a = input();
		int b = input();
		int c = input();

		for (int i = a; i <= b; i++) {

			if (c % i == 0) {

				counter++;

			}
		}

		System.out.println(counter);

		close();

	} int counter = 0; counter 0 int a = input(); a input() input int b = input(); b input() input int c = input(); c input() input for (int i = a; i <= b; i++) {

			if (c % i == 0) {

				counter++;

			}
		} int i = a; int i = a; i a i <= b i b i++ i++ i {

			if (c % i == 0) {

				counter++;

			}
		} {

			if (c % i == 0) {

				counter++;

			}
		} if (c % i == 0) {

				counter++;

			} c % i == 0 c % i c i 0 {

				counter++;

			} counter++ counter System.out.println(counter) System.out.println System.out System System.out counter close() close String[] args args public static int input() {

		return scanner.nextInt();

	} input {

		return scanner.nextInt();

	} return scanner.nextInt(); scanner.nextInt() scanner.nextInt scanner public static void close() {

		if (scanner != null) {

			scanner.close();

		}
	} close {

		if (scanner != null) {

			scanner.close();

		}
	} if (scanner != null) {

			scanner.close();

		} scanner != null scanner null {

			scanner.close();

		} scanner.close() scanner.close scanner public class Main {

	public static Scanner scanner = new Scanner(System.in);

	public static void main(String[] args) {

		int counter = 0;
		int a = input();
		int b = input();
		int c = input();

		for (int i = a; i <= b; i++) {

			if (c % i == 0) {

				counter++;

			}
		}

		System.out.println(counter);

		close();

	}

	public static int input() {

		return scanner.nextInt();

	}

	public static void close() {

		if (scanner != null) {

			scanner.close();

		}
	}
} public class Main {

	public static Scanner scanner = new Scanner(System.in);

	public static void main(String[] args) {

		int counter = 0;
		int a = input();
		int b = input();
		int c = input();

		for (int i = a; i <= b; i++) {

			if (c % i == 0) {

				counter++;

			}
		}

		System.out.println(counter);

		close();

	}

	public static int input() {

		return scanner.nextInt();

	}

	public static void close() {

		if (scanner != null) {

			scanner.close();

		}
	}
} Main
import java.util.Scanner;

public class Main {

	public static Scanner scanner = new Scanner(System.in);

	public static void main(String[] args) {

		int counter = 0;
		int a = input();
		int b = input();
		int c = input();

		for (int i = a; i <= b; i++) {

			if (c % i == 0) {

				counter++;

			}
		}

		System.out.println(counter);

		close();

	}

	public static int input() {

		return scanner.nextInt();

	}

	public static void close() {

		if (scanner != null) {

			scanner.close();

		}
	}
}