
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		int a, b, c, cnt = 0, x;
		Scanner sc = new Scanner(System.in);
		a = sc.nextInt();
		b = sc.nextInt();
		c = sc.nextInt();
		for(x = a; x <= b; x++){
			if(c % x == 0)
				cnt++;
			else if(c / x >= 0)
				a = b;
		}
		System.out.println(cnt);
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		int a, b, c, cnt = 0, x;
		Scanner sc = new Scanner(System.in);
		a = sc.nextInt();
		b = sc.nextInt();
		c = sc.nextInt();
		for(x = a; x <= b; x++){
			if(c % x == 0)
				cnt++;
			else if(c / x >= 0)
				a = b;
		}
		System.out.println(cnt);
	}
} Main public static void main(String[] args) {
		int a, b, c, cnt = 0, x;
		Scanner sc = new Scanner(System.in);
		a = sc.nextInt();
		b = sc.nextInt();
		c = sc.nextInt();
		for(x = a; x <= b; x++){
			if(c % x == 0)
				cnt++;
			else if(c / x >= 0)
				a = b;
		}
		System.out.println(cnt);
	} main {
		int a, b, c, cnt = 0, x;
		Scanner sc = new Scanner(System.in);
		a = sc.nextInt();
		b = sc.nextInt();
		c = sc.nextInt();
		for(x = a; x <= b; x++){
			if(c % x == 0)
				cnt++;
			else if(c / x >= 0)
				a = b;
		}
		System.out.println(cnt);
	} int a a b b c c cnt = 0 cnt 0 x; x Scanner sc = new Scanner(System.in); sc new Scanner(System.in) a = sc.nextInt() a sc.nextInt() sc.nextInt sc b = sc.nextInt() b sc.nextInt() sc.nextInt sc c = sc.nextInt() c sc.nextInt() sc.nextInt sc for(x = a; x <= b; x++){
			if(c % x == 0)
				cnt++;
			else if(c / x >= 0)
				a = b;
		} x = a; x = a x a x <= b x b x++ x++ x {
			if(c % x == 0)
				cnt++;
			else if(c / x >= 0)
				a = b;
		} {
			if(c % x == 0)
				cnt++;
			else if(c / x >= 0)
				a = b;
		} if(c % x == 0)
				cnt++;
			else if(c / x >= 0)
				a = b; c % x == 0 c % x c x 0 cnt++ cnt if(c / x >= 0)
				a = b; c / x >= 0 c / x c x 0 a = b a b System.out.println(cnt) System.out.println System.out System System.out cnt String[] args args public class Main {
	public static void main(String[] args) {
		int a, b, c, cnt = 0, x;
		Scanner sc = new Scanner(System.in);
		a = sc.nextInt();
		b = sc.nextInt();
		c = sc.nextInt();
		for(x = a; x <= b; x++){
			if(c % x == 0)
				cnt++;
			else if(c / x >= 0)
				a = b;
		}
		System.out.println(cnt);
	}
} public class Main {
	public static void main(String[] args) {
		int a, b, c, cnt = 0, x;
		Scanner sc = new Scanner(System.in);
		a = sc.nextInt();
		b = sc.nextInt();
		c = sc.nextInt();
		for(x = a; x <= b; x++){
			if(c % x == 0)
				cnt++;
			else if(c / x >= 0)
				a = b;
		}
		System.out.println(cnt);
	}
} Main

import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		int a, b, c, cnt = 0, x;
		Scanner sc = new Scanner(System.in);
		a = sc.nextInt();
		b = sc.nextInt();
		c = sc.nextInt();
		for(x = a; x <= b; x++){
			if(c % x == 0)
				cnt++;
			else if(c / x >= 0)
				a = b;
		}
		System.out.println(cnt);
	}
}