import java.util.Scanner;
public class Main{

	public static void main (String arg[]) {
		int Math = 0;
		Scanner scan = new Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();
		for (int x = a; x <= b ; x++) {
			if (c % x == 0) {
				Math += 1;
			}
			
		}
		System.out.println(Math);
		scan.close();

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

	public static void main (String arg[]) {
		int Math = 0;
		Scanner scan = new Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();
		for (int x = a; x <= b ; x++) {
			if (c % x == 0) {
				Math += 1;
			}
			
		}
		System.out.println(Math);
		scan.close();

	}
} Main public static void main (String arg[]) {
		int Math = 0;
		Scanner scan = new Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();
		for (int x = a; x <= b ; x++) {
			if (c % x == 0) {
				Math += 1;
			}
			
		}
		System.out.println(Math);
		scan.close();

	} main {
		int Math = 0;
		Scanner scan = new Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();
		for (int x = a; x <= b ; x++) {
			if (c % x == 0) {
				Math += 1;
			}
			
		}
		System.out.println(Math);
		scan.close();

	} int Math = 0; Math 0 Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int a = scan.nextInt(); a scan.nextInt() scan.nextInt scan int b = scan.nextInt(); b scan.nextInt() scan.nextInt scan int c = scan.nextInt(); c scan.nextInt() scan.nextInt scan for (int x = a; x <= b ; x++) {
			if (c % x == 0) {
				Math += 1;
			}
			
		} int x = a; int x = a; x a x <= b x b x++ x++ x {
			if (c % x == 0) {
				Math += 1;
			}
			
		} {
			if (c % x == 0) {
				Math += 1;
			}
			
		} if (c % x == 0) {
				Math += 1;
			} c % x == 0 c % x c x 0 {
				Math += 1;
			} Math += 1 Math 1 System.out.println(Math) System.out.println System.out System System.out Math scan.close() scan.close scan String arg[] arg public class Main{

	public static void main (String arg[]) {
		int Math = 0;
		Scanner scan = new Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();
		for (int x = a; x <= b ; x++) {
			if (c % x == 0) {
				Math += 1;
			}
			
		}
		System.out.println(Math);
		scan.close();

	}
} public class Main{

	public static void main (String arg[]) {
		int Math = 0;
		Scanner scan = new Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();
		for (int x = a; x <= b ; x++) {
			if (c % x == 0) {
				Math += 1;
			}
			
		}
		System.out.println(Math);
		scan.close();

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

	public static void main (String arg[]) {
		int Math = 0;
		Scanner scan = new Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();
		for (int x = a; x <= b ; x++) {
			if (c % x == 0) {
				Math += 1;
			}
			
		}
		System.out.println(Math);
		scan.close();

	}
}
