import java.io.*;
import java.util.*;
public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringTokenizer st = new StringTokenizer(br.readLine(), " ", false);
		int a = Integer.parseInt(st.nextToken());
		int b = Integer.parseInt(st.nextToken());
		int c = Integer.parseInt(st.nextToken());		
		br.close();
		int out = 0;
		for (int i = a; i <= b; i++) {
			if (c % i == 0) out++;
		}
		System.out.println(out);
	}
}
 import java.io.*; io.* java import java.util.*; util.* java public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringTokenizer st = new StringTokenizer(br.readLine(), " ", false);
		int a = Integer.parseInt(st.nextToken());
		int b = Integer.parseInt(st.nextToken());
		int c = Integer.parseInt(st.nextToken());		
		br.close();
		int out = 0;
		for (int i = a; i <= b; i++) {
			if (c % i == 0) out++;
		}
		System.out.println(out);
	}
} Main public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringTokenizer st = new StringTokenizer(br.readLine(), " ", false);
		int a = Integer.parseInt(st.nextToken());
		int b = Integer.parseInt(st.nextToken());
		int c = Integer.parseInt(st.nextToken());		
		br.close();
		int out = 0;
		for (int i = a; i <= b; i++) {
			if (c % i == 0) out++;
		}
		System.out.println(out);
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringTokenizer st = new StringTokenizer(br.readLine(), " ", false);
		int a = Integer.parseInt(st.nextToken());
		int b = Integer.parseInt(st.nextToken());
		int c = Integer.parseInt(st.nextToken());		
		br.close();
		int out = 0;
		for (int i = a; i <= b; i++) {
			if (c % i == 0) out++;
		}
		System.out.println(out);
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) StringTokenizer st = new StringTokenizer(br.readLine(), " ", false); st new StringTokenizer(br.readLine(), " ", false) int a = Integer.parseInt(st.nextToken()); a Integer.parseInt(st.nextToken()) Integer.parseInt Integer st.nextToken() st.nextToken st int b = Integer.parseInt(st.nextToken()); b Integer.parseInt(st.nextToken()) Integer.parseInt Integer st.nextToken() st.nextToken st int c = Integer.parseInt(st.nextToken()); c Integer.parseInt(st.nextToken()) Integer.parseInt Integer st.nextToken() st.nextToken st br.close() br.close br int out = 0; out 0 for (int i = a; i <= b; i++) {
			if (c % i == 0) out++;
		} int i = a; int i = a; i a i <= b i b i++ i++ i {
			if (c % i == 0) out++;
		} {
			if (c % i == 0) out++;
		} if (c % i == 0) out++; c % i == 0 c % i c i 0 out++ out System.out.println(out) System.out.println System.out System System.out out String[] args args public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringTokenizer st = new StringTokenizer(br.readLine(), " ", false);
		int a = Integer.parseInt(st.nextToken());
		int b = Integer.parseInt(st.nextToken());
		int c = Integer.parseInt(st.nextToken());		
		br.close();
		int out = 0;
		for (int i = a; i <= b; i++) {
			if (c % i == 0) out++;
		}
		System.out.println(out);
	}
} public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringTokenizer st = new StringTokenizer(br.readLine(), " ", false);
		int a = Integer.parseInt(st.nextToken());
		int b = Integer.parseInt(st.nextToken());
		int c = Integer.parseInt(st.nextToken());		
		br.close();
		int out = 0;
		for (int i = a; i <= b; i++) {
			if (c % i == 0) out++;
		}
		System.out.println(out);
	}
} Main
import java.io.*;
import java.util.*;
public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringTokenizer st = new StringTokenizer(br.readLine(), " ", false);
		int a = Integer.parseInt(st.nextToken());
		int b = Integer.parseInt(st.nextToken());
		int c = Integer.parseInt(st.nextToken());		
		br.close();
		int out = 0;
		for (int i = a; i <= b; i++) {
			if (c % i == 0) out++;
		}
		System.out.println(out);
	}
}

