import java.util.Scanner;

public class Main {

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

		int a = stdIn.nextInt();
		int b = stdIn.nextInt();
		int c = stdIn.nextInt();
		
		int count = 0;
		for (int i = a; i <= b; i++) {
			if (c % i == 0) count++;
		}
		System.out.println(count);
	}
}
 import java.util.Scanner; Scanner java.util public class Main {

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

		int a = stdIn.nextInt();
		int b = stdIn.nextInt();
		int c = stdIn.nextInt();
		
		int count = 0;
		for (int i = a; i <= b; i++) {
			if (c % i == 0) count++;
		}
		System.out.println(count);
	}
} Main public static void main(String[] args) {
		
		Scanner stdIn = new Scanner(System.in);

		int a = stdIn.nextInt();
		int b = stdIn.nextInt();
		int c = stdIn.nextInt();
		
		int count = 0;
		for (int i = a; i <= b; i++) {
			if (c % i == 0) count++;
		}
		System.out.println(count);
	} main {
		
		Scanner stdIn = new Scanner(System.in);

		int a = stdIn.nextInt();
		int b = stdIn.nextInt();
		int c = stdIn.nextInt();
		
		int count = 0;
		for (int i = a; i <= b; i++) {
			if (c % i == 0) count++;
		}
		System.out.println(count);
	} Scanner stdIn = new Scanner(System.in); stdIn new Scanner(System.in) int a = stdIn.nextInt(); a stdIn.nextInt() stdIn.nextInt stdIn int b = stdIn.nextInt(); b stdIn.nextInt() stdIn.nextInt stdIn int c = stdIn.nextInt(); c stdIn.nextInt() stdIn.nextInt stdIn int count = 0; count 0 for (int i = a; i <= b; i++) {
			if (c % i == 0) count++;
		} int i = a; int i = a; i a i <= b i b i++ i++ i {
			if (c % i == 0) count++;
		} {
			if (c % i == 0) count++;
		} if (c % i == 0) count++; c % i == 0 c % i c i 0 count++ count System.out.println(count) System.out.println System.out System System.out count String[] args args public class Main {

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

		int a = stdIn.nextInt();
		int b = stdIn.nextInt();
		int c = stdIn.nextInt();
		
		int count = 0;
		for (int i = a; i <= b; i++) {
			if (c % i == 0) count++;
		}
		System.out.println(count);
	}
} public class Main {

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

		int a = stdIn.nextInt();
		int b = stdIn.nextInt();
		int c = stdIn.nextInt();
		
		int count = 0;
		for (int i = a; i <= b; i++) {
			if (c % i == 0) count++;
		}
		System.out.println(count);
	}
} Main
import java.util.Scanner;

public class Main {

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

		int a = stdIn.nextInt();
		int b = stdIn.nextInt();
		int c = stdIn.nextInt();
		
		int count = 0;
		for (int i = a; i <= b; i++) {
			if (c % i == 0) count++;
		}
		System.out.println(count);
	}
}

