import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Scanner;

public class Main {

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

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

	}

} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.Scanner; Scanner java.util public class Main {

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

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

	}

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

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

	} main {
		
		Scanner sc = new Scanner(System.in);
		StringBuilder builder = new StringBuilder();

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

	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) StringBuilder builder = new StringBuilder(); builder new StringBuilder() 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 int count = 0; count 0 for (int i = a; i <= b; i++){
			if (c % i == 0){
				count += 1;
			}
		} int i = a; int i = a; i a i <= b i b i++ i++ i {
			if (c % i == 0){
				count += 1;
			}
		} {
			if (c % i == 0){
				count += 1;
			}
		} if (c % i == 0){
				count += 1;
			} c % i == 0 c % i c i 0 {
				count += 1;
			} count += 1 count 1 System.out.println(builder.append(count)) System.out.println System.out System System.out builder.append(count) builder.append builder count String[] args args public class Main {

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

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

	}

} public class Main {

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

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

	}

} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Scanner;

public class Main {

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

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

	}

}