import java.util.Scanner;

/**
 * @author ??\???
 *
 */
public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int a = scanner.nextInt();
		int b = scanner.nextInt();
		int c = scanner.nextInt();
		scanner.close();
		
		int ans = 0;
		for (int i = a; i <= b; i++) {
			ans = (c % i == 0) ? ans + 1: ans;
		}
		
		System.out.println(ans);
	}

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

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int a = scanner.nextInt();
		int b = scanner.nextInt();
		int c = scanner.nextInt();
		scanner.close();
		
		int ans = 0;
		for (int i = a; i <= b; i++) {
			ans = (c % i == 0) ? ans + 1: ans;
		}
		
		System.out.println(ans);
	}

} Main /**
	 * @param args
	 */
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int a = scanner.nextInt();
		int b = scanner.nextInt();
		int c = scanner.nextInt();
		scanner.close();
		
		int ans = 0;
		for (int i = a; i <= b; i++) {
			ans = (c % i == 0) ? ans + 1: ans;
		}
		
		System.out.println(ans);
	} main {
		Scanner scanner = new Scanner(System.in);
		int a = scanner.nextInt();
		int b = scanner.nextInt();
		int c = scanner.nextInt();
		scanner.close();
		
		int ans = 0;
		for (int i = a; i <= b; i++) {
			ans = (c % i == 0) ? ans + 1: ans;
		}
		
		System.out.println(ans);
	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int a = scanner.nextInt(); a scanner.nextInt() scanner.nextInt scanner int b = scanner.nextInt(); b scanner.nextInt() scanner.nextInt scanner int c = scanner.nextInt(); c scanner.nextInt() scanner.nextInt scanner scanner.close() scanner.close scanner int ans = 0; ans 0 for (int i = a; i <= b; i++) {
			ans = (c % i == 0) ? ans + 1: ans;
		} int i = a; int i = a; i a i <= b i b i++ i++ i {
			ans = (c % i == 0) ? ans + 1: ans;
		} {
			ans = (c % i == 0) ? ans + 1: ans;
		} ans = (c % i == 0) ? ans + 1: ans ans (c % i == 0) ? ans + 1: ans (c % i == 0) c % i c i 0 ans + 1 ans 1 ans System.out.println(ans) System.out.println System.out System System.out ans String[] args args public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int a = scanner.nextInt();
		int b = scanner.nextInt();
		int c = scanner.nextInt();
		scanner.close();
		
		int ans = 0;
		for (int i = a; i <= b; i++) {
			ans = (c % i == 0) ? ans + 1: ans;
		}
		
		System.out.println(ans);
	}

} public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int a = scanner.nextInt();
		int b = scanner.nextInt();
		int c = scanner.nextInt();
		scanner.close();
		
		int ans = 0;
		for (int i = a; i <= b; i++) {
			ans = (c % i == 0) ? ans + 1: ans;
		}
		
		System.out.println(ans);
	}

} Main
import java.util.Scanner;

/**
 * @author ??\???
 *
 */
public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int a = scanner.nextInt();
		int b = scanner.nextInt();
		int c = scanner.nextInt();
		scanner.close();
		
		int ans = 0;
		for (int i = a; i <= b; i++) {
			ans = (c % i == 0) ? ans + 1: ans;
		}
		
		System.out.println(ans);
	}

}