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

public class Main {

	public static void solver() {
	
		int a = cin.nextInt();
		int b = cin.nextInt();
		int c = cin.nextInt();
		int cnt = 0;
		
		for (int i=a; i<=b; i++) {
			
			if (c%i==0) cnt++;
			
		}
		
		cout.println(cnt);
		
	}
	
	public static void main(String[] args) throws IOException {

		cin = new Scanner(System.in);
		Main.solver();
	}

	static Scanner     cin;
	static PrintStream cout = System.out;//標準出力
} import java.io.*; io.* java import java.util.*; util.* java public class Main {

	public static void solver() {
	
		int a = cin.nextInt();
		int b = cin.nextInt();
		int c = cin.nextInt();
		int cnt = 0;
		
		for (int i=a; i<=b; i++) {
			
			if (c%i==0) cnt++;
			
		}
		
		cout.println(cnt);
		
	}
	
	public static void main(String[] args) throws IOException {

		cin = new Scanner(System.in);
		Main.solver();
	}

	static Scanner     cin;
	static PrintStream cout = System.out;//標準出力
} Main static Scanner     cin; cin static PrintStream cout = System.out;//標準出力 cout System.out System System.out public static void solver() {
	
		int a = cin.nextInt();
		int b = cin.nextInt();
		int c = cin.nextInt();
		int cnt = 0;
		
		for (int i=a; i<=b; i++) {
			
			if (c%i==0) cnt++;
			
		}
		
		cout.println(cnt);
		
	} solver {
	
		int a = cin.nextInt();
		int b = cin.nextInt();
		int c = cin.nextInt();
		int cnt = 0;
		
		for (int i=a; i<=b; i++) {
			
			if (c%i==0) cnt++;
			
		}
		
		cout.println(cnt);
		
	} int a = cin.nextInt(); a cin.nextInt() cin.nextInt cin int b = cin.nextInt(); b cin.nextInt() cin.nextInt cin int c = cin.nextInt(); c cin.nextInt() cin.nextInt cin int cnt = 0; cnt 0 for (int i=a; i<=b; i++) {
			
			if (c%i==0) cnt++;
			
		} int i=a; int i=a; i a i<=b i b i++ i++ i {
			
			if (c%i==0) cnt++;
			
		} {
			
			if (c%i==0) cnt++;
			
		} if (c%i==0) cnt++; c%i==0 c%i c i 0 cnt++ cnt cout.println(cnt) cout.println cout cnt public static void main(String[] args) throws IOException {

		cin = new Scanner(System.in);
		Main.solver();
	} main {

		cin = new Scanner(System.in);
		Main.solver();
	} cin = new Scanner(System.in) cin new Scanner(System.in) Main.solver() Main.solver Main String[] args args public class Main {

	public static void solver() {
	
		int a = cin.nextInt();
		int b = cin.nextInt();
		int c = cin.nextInt();
		int cnt = 0;
		
		for (int i=a; i<=b; i++) {
			
			if (c%i==0) cnt++;
			
		}
		
		cout.println(cnt);
		
	}
	
	public static void main(String[] args) throws IOException {

		cin = new Scanner(System.in);
		Main.solver();
	}

	static Scanner     cin;
	static PrintStream cout = System.out;//標準出力
} public class Main {

	public static void solver() {
	
		int a = cin.nextInt();
		int b = cin.nextInt();
		int c = cin.nextInt();
		int cnt = 0;
		
		for (int i=a; i<=b; i++) {
			
			if (c%i==0) cnt++;
			
		}
		
		cout.println(cnt);
		
	}
	
	public static void main(String[] args) throws IOException {

		cin = new Scanner(System.in);
		Main.solver();
	}

	static Scanner     cin;
	static PrintStream cout = System.out;//標準出力
} Main
import java.io.*;
import java.util.*;

public class Main {

	public static void solver() {
	
		int a = cin.nextInt();
		int b = cin.nextInt();
		int c = cin.nextInt();
		int cnt = 0;
		
		for (int i=a; i<=b; i++) {
			
			if (c%i==0) cnt++;
			
		}
		
		cout.println(cnt);
		
	}
	
	public static void main(String[] args) throws IOException {

		cin = new Scanner(System.in);
		Main.solver();
	}

	static Scanner     cin;
	static PrintStream cout = System.out;//標準出力
}