import java.io.ByteArrayInputStream;
import java.io.PrintWriter;
import java.util.Scanner;

public class Main {
	
	String INPUT = "";
	
	public static void main(String[] args) throws Exception {
		new Main().run();
	}
	
	void run() {
		Scanner sc = INPUT.isEmpty() ? new Scanner(System.in) : new Scanner(new ByteArrayInputStream(INPUT.getBytes()));
		PrintWriter out = new PrintWriter(System.out);
		
		solve(sc, out);
		out.flush();
	}
	
	void solve(Scanner sc, PrintWriter out) {
		int x,y,z;
		
		x = sc.nextInt();
		y = sc.nextInt();
		z = sc.nextInt();
		
		int cnt = 0;
		for (int i = x; i <= y; i++) {
			if (z%i == 0) cnt++;
		}
		System.out.println(cnt);
	}
}
 import java.io.ByteArrayInputStream; ByteArrayInputStream java.io import java.io.PrintWriter; PrintWriter java.io import java.util.Scanner; Scanner java.util public class Main {
	
	String INPUT = "";
	
	public static void main(String[] args) throws Exception {
		new Main().run();
	}
	
	void run() {
		Scanner sc = INPUT.isEmpty() ? new Scanner(System.in) : new Scanner(new ByteArrayInputStream(INPUT.getBytes()));
		PrintWriter out = new PrintWriter(System.out);
		
		solve(sc, out);
		out.flush();
	}
	
	void solve(Scanner sc, PrintWriter out) {
		int x,y,z;
		
		x = sc.nextInt();
		y = sc.nextInt();
		z = sc.nextInt();
		
		int cnt = 0;
		for (int i = x; i <= y; i++) {
			if (z%i == 0) cnt++;
		}
		System.out.println(cnt);
	}
} Main String INPUT = ""; INPUT "" public static void main(String[] args) throws Exception {
		new Main().run();
	} main {
		new Main().run();
	} new Main().run() new Main().run new Main() String[] args args void run() {
		Scanner sc = INPUT.isEmpty() ? new Scanner(System.in) : new Scanner(new ByteArrayInputStream(INPUT.getBytes()));
		PrintWriter out = new PrintWriter(System.out);
		
		solve(sc, out);
		out.flush();
	} run {
		Scanner sc = INPUT.isEmpty() ? new Scanner(System.in) : new Scanner(new ByteArrayInputStream(INPUT.getBytes()));
		PrintWriter out = new PrintWriter(System.out);
		
		solve(sc, out);
		out.flush();
	} Scanner sc = INPUT.isEmpty() ? new Scanner(System.in) : new Scanner(new ByteArrayInputStream(INPUT.getBytes())); sc INPUT.isEmpty() ? new Scanner(System.in) : new Scanner(new ByteArrayInputStream(INPUT.getBytes())) INPUT.isEmpty() INPUT.isEmpty INPUT new Scanner(System.in) new Scanner(new ByteArrayInputStream(INPUT.getBytes())) PrintWriter out = new PrintWriter(System.out); out new PrintWriter(System.out) solve(sc, out) solve sc out out.flush() out.flush out void solve(Scanner sc, PrintWriter out) {
		int x,y,z;
		
		x = sc.nextInt();
		y = sc.nextInt();
		z = sc.nextInt();
		
		int cnt = 0;
		for (int i = x; i <= y; i++) {
			if (z%i == 0) cnt++;
		}
		System.out.println(cnt);
	} solve {
		int x,y,z;
		
		x = sc.nextInt();
		y = sc.nextInt();
		z = sc.nextInt();
		
		int cnt = 0;
		for (int i = x; i <= y; i++) {
			if (z%i == 0) cnt++;
		}
		System.out.println(cnt);
	} int x x y y z; z x = sc.nextInt() x sc.nextInt() sc.nextInt sc y = sc.nextInt() y sc.nextInt() sc.nextInt sc z = sc.nextInt() z sc.nextInt() sc.nextInt sc int cnt = 0; cnt 0 for (int i = x; i <= y; i++) {
			if (z%i == 0) cnt++;
		} int i = x; int i = x; i x i <= y i y i++ i++ i {
			if (z%i == 0) cnt++;
		} {
			if (z%i == 0) cnt++;
		} if (z%i == 0) cnt++; z%i == 0 z%i z i 0 cnt++ cnt System.out.println(cnt) System.out.println System.out System System.out cnt Scanner sc sc PrintWriter out out public class Main {
	
	String INPUT = "";
	
	public static void main(String[] args) throws Exception {
		new Main().run();
	}
	
	void run() {
		Scanner sc = INPUT.isEmpty() ? new Scanner(System.in) : new Scanner(new ByteArrayInputStream(INPUT.getBytes()));
		PrintWriter out = new PrintWriter(System.out);
		
		solve(sc, out);
		out.flush();
	}
	
	void solve(Scanner sc, PrintWriter out) {
		int x,y,z;
		
		x = sc.nextInt();
		y = sc.nextInt();
		z = sc.nextInt();
		
		int cnt = 0;
		for (int i = x; i <= y; i++) {
			if (z%i == 0) cnt++;
		}
		System.out.println(cnt);
	}
} public class Main {
	
	String INPUT = "";
	
	public static void main(String[] args) throws Exception {
		new Main().run();
	}
	
	void run() {
		Scanner sc = INPUT.isEmpty() ? new Scanner(System.in) : new Scanner(new ByteArrayInputStream(INPUT.getBytes()));
		PrintWriter out = new PrintWriter(System.out);
		
		solve(sc, out);
		out.flush();
	}
	
	void solve(Scanner sc, PrintWriter out) {
		int x,y,z;
		
		x = sc.nextInt();
		y = sc.nextInt();
		z = sc.nextInt();
		
		int cnt = 0;
		for (int i = x; i <= y; i++) {
			if (z%i == 0) cnt++;
		}
		System.out.println(cnt);
	}
} Main
import java.io.ByteArrayInputStream;
import java.io.PrintWriter;
import java.util.Scanner;

public class Main {
	
	String INPUT = "";
	
	public static void main(String[] args) throws Exception {
		new Main().run();
	}
	
	void run() {
		Scanner sc = INPUT.isEmpty() ? new Scanner(System.in) : new Scanner(new ByteArrayInputStream(INPUT.getBytes()));
		PrintWriter out = new PrintWriter(System.out);
		
		solve(sc, out);
		out.flush();
	}
	
	void solve(Scanner sc, PrintWriter out) {
		int x,y,z;
		
		x = sc.nextInt();
		y = sc.nextInt();
		z = sc.nextInt();
		
		int cnt = 0;
		for (int i = x; i <= y; i++) {
			if (z%i == 0) cnt++;
		}
		System.out.println(cnt);
	}
}

