import java.io.*;
import java.util.*;

public class Main {
	public static void main(String[] args) throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int[] intArray = convertInt(br.readLine().split(" "));
		int result = 0;
		for (int i = intArray[0]; i <= intArray[1]; i++) {
			if (intArray[2] % i == 0) { result++; }
		}
		System.out.println(result);
	}

	private static int[] convertInt(String[] strArray) {
		int[] intArray = new int[strArray.length];
		for (int i = 0; i < strArray.length; i++) {
			intArray[i] = Integer.parseInt(strArray[i]);
		}
		return intArray;
	}
} import java.io.*; io.* java import java.util.*; util.* java public class Main {
	public static void main(String[] args) throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int[] intArray = convertInt(br.readLine().split(" "));
		int result = 0;
		for (int i = intArray[0]; i <= intArray[1]; i++) {
			if (intArray[2] % i == 0) { result++; }
		}
		System.out.println(result);
	}

	private static int[] convertInt(String[] strArray) {
		int[] intArray = new int[strArray.length];
		for (int i = 0; i < strArray.length; i++) {
			intArray[i] = Integer.parseInt(strArray[i]);
		}
		return intArray;
	}
} Main public static void main(String[] args) throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int[] intArray = convertInt(br.readLine().split(" "));
		int result = 0;
		for (int i = intArray[0]; i <= intArray[1]; i++) {
			if (intArray[2] % i == 0) { result++; }
		}
		System.out.println(result);
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int[] intArray = convertInt(br.readLine().split(" "));
		int result = 0;
		for (int i = intArray[0]; i <= intArray[1]; i++) {
			if (intArray[2] % i == 0) { result++; }
		}
		System.out.println(result);
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) int[] intArray = convertInt(br.readLine().split(" ")); intArray convertInt(br.readLine().split(" ")) convertInt br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " int result = 0; result 0 for (int i = intArray[0]; i <= intArray[1]; i++) {
			if (intArray[2] % i == 0) { result++; }
		} int i = intArray[0]; int i = intArray[0]; i intArray[0] intArray 0 i <= intArray[1] i intArray[1] intArray 1 i++ i++ i {
			if (intArray[2] % i == 0) { result++; }
		} {
			if (intArray[2] % i == 0) { result++; }
		} if (intArray[2] % i == 0) { result++; } intArray[2] % i == 0 intArray[2] % i intArray[2] intArray 2 i 0 { result++; } result++ result System.out.println(result) System.out.println System.out System System.out result String[] args args private static int[] convertInt(String[] strArray) {
		int[] intArray = new int[strArray.length];
		for (int i = 0; i < strArray.length; i++) {
			intArray[i] = Integer.parseInt(strArray[i]);
		}
		return intArray;
	} convertInt {
		int[] intArray = new int[strArray.length];
		for (int i = 0; i < strArray.length; i++) {
			intArray[i] = Integer.parseInt(strArray[i]);
		}
		return intArray;
	} int[] intArray = new int[strArray.length]; intArray new int[strArray.length] strArray.length strArray strArray.length for (int i = 0; i < strArray.length; i++) {
			intArray[i] = Integer.parseInt(strArray[i]);
		} int i = 0; int i = 0; i 0 i < strArray.length i strArray.length strArray strArray.length i++ i++ i {
			intArray[i] = Integer.parseInt(strArray[i]);
		} {
			intArray[i] = Integer.parseInt(strArray[i]);
		} intArray[i] = Integer.parseInt(strArray[i]) intArray[i] intArray i Integer.parseInt(strArray[i]) Integer.parseInt Integer strArray[i] strArray i return intArray; intArray String[] strArray strArray public class Main {
	public static void main(String[] args) throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int[] intArray = convertInt(br.readLine().split(" "));
		int result = 0;
		for (int i = intArray[0]; i <= intArray[1]; i++) {
			if (intArray[2] % i == 0) { result++; }
		}
		System.out.println(result);
	}

	private static int[] convertInt(String[] strArray) {
		int[] intArray = new int[strArray.length];
		for (int i = 0; i < strArray.length; i++) {
			intArray[i] = Integer.parseInt(strArray[i]);
		}
		return intArray;
	}
} public class Main {
	public static void main(String[] args) throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int[] intArray = convertInt(br.readLine().split(" "));
		int result = 0;
		for (int i = intArray[0]; i <= intArray[1]; i++) {
			if (intArray[2] % i == 0) { result++; }
		}
		System.out.println(result);
	}

	private static int[] convertInt(String[] strArray) {
		int[] intArray = new int[strArray.length];
		for (int i = 0; i < strArray.length; i++) {
			intArray[i] = Integer.parseInt(strArray[i]);
		}
		return intArray;
	}
} Main
import java.io.*;
import java.util.*;

public class Main {
	public static void main(String[] args) throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int[] intArray = convertInt(br.readLine().split(" "));
		int result = 0;
		for (int i = intArray[0]; i <= intArray[1]; i++) {
			if (intArray[2] % i == 0) { result++; }
		}
		System.out.println(result);
	}

	private static int[] convertInt(String[] strArray) {
		int[] intArray = new int[strArray.length];
		for (int i = 0; i < strArray.length; i++) {
			intArray[i] = Integer.parseInt(strArray[i]);
		}
		return intArray;
	}
}