import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		int a = 0;
		int b = 0;
		int c = 0;
		int i = 0;
		int ans = 0;

		Scanner in = new Scanner(System.in);

		a = in.nextInt();
		b = in.nextInt();
		c = in.nextInt();

		while(a<=b){
			if (c % a == 0){
				ans++;
			}else{

			}
		a++;
		}

		System.out.println(ans);

	}

} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {

		int a = 0;
		int b = 0;
		int c = 0;
		int i = 0;
		int ans = 0;

		Scanner in = new Scanner(System.in);

		a = in.nextInt();
		b = in.nextInt();
		c = in.nextInt();

		while(a<=b){
			if (c % a == 0){
				ans++;
			}else{

			}
		a++;
		}

		System.out.println(ans);

	}

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

		int a = 0;
		int b = 0;
		int c = 0;
		int i = 0;
		int ans = 0;

		Scanner in = new Scanner(System.in);

		a = in.nextInt();
		b = in.nextInt();
		c = in.nextInt();

		while(a<=b){
			if (c % a == 0){
				ans++;
			}else{

			}
		a++;
		}

		System.out.println(ans);

	} main {

		int a = 0;
		int b = 0;
		int c = 0;
		int i = 0;
		int ans = 0;

		Scanner in = new Scanner(System.in);

		a = in.nextInt();
		b = in.nextInt();
		c = in.nextInt();

		while(a<=b){
			if (c % a == 0){
				ans++;
			}else{

			}
		a++;
		}

		System.out.println(ans);

	} int a = 0; a 0 int b = 0; b 0 int c = 0; c 0 int i = 0; i 0 int ans = 0; ans 0 Scanner in = new Scanner(System.in); in new Scanner(System.in) a = in.nextInt() a in.nextInt() in.nextInt in b = in.nextInt() b in.nextInt() in.nextInt in c = in.nextInt() c in.nextInt() in.nextInt in while(a<=b){
			if (c % a == 0){
				ans++;
			}else{

			}
		a++;
		} a<=b a b {
			if (c % a == 0){
				ans++;
			}else{

			}
		a++;
		} if (c % a == 0){
				ans++;
			}else{

			} c % a == 0 c % a c a 0 {
				ans++;
			} ans++ ans {

			} a++ a System.out.println(ans) System.out.println System.out System System.out ans String[] args args public class Main {

	public static void main(String[] args) {

		int a = 0;
		int b = 0;
		int c = 0;
		int i = 0;
		int ans = 0;

		Scanner in = new Scanner(System.in);

		a = in.nextInt();
		b = in.nextInt();
		c = in.nextInt();

		while(a<=b){
			if (c % a == 0){
				ans++;
			}else{

			}
		a++;
		}

		System.out.println(ans);

	}

} public class Main {

	public static void main(String[] args) {

		int a = 0;
		int b = 0;
		int c = 0;
		int i = 0;
		int ans = 0;

		Scanner in = new Scanner(System.in);

		a = in.nextInt();
		b = in.nextInt();
		c = in.nextInt();

		while(a<=b){
			if (c % a == 0){
				ans++;
			}else{

			}
		a++;
		}

		System.out.println(ans);

	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		int a = 0;
		int b = 0;
		int c = 0;
		int i = 0;
		int ans = 0;

		Scanner in = new Scanner(System.in);

		a = in.nextInt();
		b = in.nextInt();
		c = in.nextInt();

		while(a<=b){
			if (c % a == 0){
				ans++;
			}else{

			}
		a++;
		}

		System.out.println(ans);

	}

}