import java.util.*;

public class Main {
	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
		String str = sc.nextLine();
		String[] data = str.split(" ");
		int num[] = new int[data.length];
		for(int i = 0; i < data.length; i++){
			num[i] = Integer.parseInt(data[i]);
		}
	
		int a = num[0];
		int b = num[1];
		int c = num[2];


		ArrayList<Integer> yaku = new ArrayList<Integer>();
		for(int i = a; i <= b; i++){
			if(c % i == 0){
				yaku.add(i);
			}
		}
		int x = yaku.size();
		System.out.println(x);
	}
} import java.util.*; util.* java public class Main {
	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
		String str = sc.nextLine();
		String[] data = str.split(" ");
		int num[] = new int[data.length];
		for(int i = 0; i < data.length; i++){
			num[i] = Integer.parseInt(data[i]);
		}
	
		int a = num[0];
		int b = num[1];
		int c = num[2];


		ArrayList<Integer> yaku = new ArrayList<Integer>();
		for(int i = a; i <= b; i++){
			if(c % i == 0){
				yaku.add(i);
			}
		}
		int x = yaku.size();
		System.out.println(x);
	}
} Main public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
		String str = sc.nextLine();
		String[] data = str.split(" ");
		int num[] = new int[data.length];
		for(int i = 0; i < data.length; i++){
			num[i] = Integer.parseInt(data[i]);
		}
	
		int a = num[0];
		int b = num[1];
		int c = num[2];


		ArrayList<Integer> yaku = new ArrayList<Integer>();
		for(int i = a; i <= b; i++){
			if(c % i == 0){
				yaku.add(i);
			}
		}
		int x = yaku.size();
		System.out.println(x);
	} main {

		Scanner sc = new Scanner(System.in);
		String str = sc.nextLine();
		String[] data = str.split(" ");
		int num[] = new int[data.length];
		for(int i = 0; i < data.length; i++){
			num[i] = Integer.parseInt(data[i]);
		}
	
		int a = num[0];
		int b = num[1];
		int c = num[2];


		ArrayList<Integer> yaku = new ArrayList<Integer>();
		for(int i = a; i <= b; i++){
			if(c % i == 0){
				yaku.add(i);
			}
		}
		int x = yaku.size();
		System.out.println(x);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String str = sc.nextLine(); str sc.nextLine() sc.nextLine sc String[] data = str.split(" "); data str.split(" ") str.split str " " int num[] = new int[data.length]; num new int[data.length] data.length data data.length for(int i = 0; i < data.length; i++){
			num[i] = Integer.parseInt(data[i]);
		} int i = 0; int i = 0; i 0 i < data.length i data.length data data.length i++ i++ i {
			num[i] = Integer.parseInt(data[i]);
		} {
			num[i] = Integer.parseInt(data[i]);
		} num[i] = Integer.parseInt(data[i]) num[i] num i Integer.parseInt(data[i]) Integer.parseInt Integer data[i] data i int a = num[0]; a num[0] num 0 int b = num[1]; b num[1] num 1 int c = num[2]; c num[2] num 2 ArrayList<Integer> yaku = new ArrayList<Integer>(); yaku new ArrayList<Integer>() for(int i = a; i <= b; i++){
			if(c % i == 0){
				yaku.add(i);
			}
		} int i = a; int i = a; i a i <= b i b i++ i++ i {
			if(c % i == 0){
				yaku.add(i);
			}
		} {
			if(c % i == 0){
				yaku.add(i);
			}
		} if(c % i == 0){
				yaku.add(i);
			} c % i == 0 c % i c i 0 {
				yaku.add(i);
			} yaku.add(i) yaku.add yaku i int x = yaku.size(); x yaku.size() yaku.size yaku System.out.println(x) System.out.println System.out System System.out x String[] args args public class Main {
	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
		String str = sc.nextLine();
		String[] data = str.split(" ");
		int num[] = new int[data.length];
		for(int i = 0; i < data.length; i++){
			num[i] = Integer.parseInt(data[i]);
		}
	
		int a = num[0];
		int b = num[1];
		int c = num[2];


		ArrayList<Integer> yaku = new ArrayList<Integer>();
		for(int i = a; i <= b; i++){
			if(c % i == 0){
				yaku.add(i);
			}
		}
		int x = yaku.size();
		System.out.println(x);
	}
} public class Main {
	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
		String str = sc.nextLine();
		String[] data = str.split(" ");
		int num[] = new int[data.length];
		for(int i = 0; i < data.length; i++){
			num[i] = Integer.parseInt(data[i]);
		}
	
		int a = num[0];
		int b = num[1];
		int c = num[2];


		ArrayList<Integer> yaku = new ArrayList<Integer>();
		for(int i = a; i <= b; i++){
			if(c % i == 0){
				yaku.add(i);
			}
		}
		int x = yaku.size();
		System.out.println(x);
	}
} Main
import java.util.*;

public class Main {
	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
		String str = sc.nextLine();
		String[] data = str.split(" ");
		int num[] = new int[data.length];
		for(int i = 0; i < data.length; i++){
			num[i] = Integer.parseInt(data[i]);
		}
	
		int a = num[0];
		int b = num[1];
		int c = num[2];


		ArrayList<Integer> yaku = new ArrayList<Integer>();
		for(int i = a; i <= b; i++){
			if(c % i == 0){
				yaku.add(i);
			}
		}
		int x = yaku.size();
		System.out.println(x);
	}
}
