import java.util.*;

public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int can_n = 0;
		int kaisu = 3;
		int[] num = new int[kaisu];
		for(int i = 0; i < kaisu; i++) {
			num[i] = scan.nextInt();
		}
		for(int i = num[0]; i <= num[1] ;i++) {
			if(num[2] % i == 0) can_n++;
		}
		System.out.println(can_n);

 }
} import java.util.*; util.* java public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int can_n = 0;
		int kaisu = 3;
		int[] num = new int[kaisu];
		for(int i = 0; i < kaisu; i++) {
			num[i] = scan.nextInt();
		}
		for(int i = num[0]; i <= num[1] ;i++) {
			if(num[2] % i == 0) can_n++;
		}
		System.out.println(can_n);

 }
} Main public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int can_n = 0;
		int kaisu = 3;
		int[] num = new int[kaisu];
		for(int i = 0; i < kaisu; i++) {
			num[i] = scan.nextInt();
		}
		for(int i = num[0]; i <= num[1] ;i++) {
			if(num[2] % i == 0) can_n++;
		}
		System.out.println(can_n);

 } main {
		Scanner scan = new Scanner(System.in);
		int can_n = 0;
		int kaisu = 3;
		int[] num = new int[kaisu];
		for(int i = 0; i < kaisu; i++) {
			num[i] = scan.nextInt();
		}
		for(int i = num[0]; i <= num[1] ;i++) {
			if(num[2] % i == 0) can_n++;
		}
		System.out.println(can_n);

 } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int can_n = 0; can_n 0 int kaisu = 3; kaisu 3 int[] num = new int[kaisu]; num new int[kaisu] kaisu for(int i = 0; i < kaisu; i++) {
			num[i] = scan.nextInt();
		} int i = 0; int i = 0; i 0 i < kaisu i kaisu i++ i++ i {
			num[i] = scan.nextInt();
		} {
			num[i] = scan.nextInt();
		} num[i] = scan.nextInt() num[i] num i scan.nextInt() scan.nextInt scan for(int i = num[0]; i <= num[1] ;i++) {
			if(num[2] % i == 0) can_n++;
		} int i = num[0]; int i = num[0]; i num[0] num 0 i <= num[1] i num[1] num 1 i++ i++ i {
			if(num[2] % i == 0) can_n++;
		} {
			if(num[2] % i == 0) can_n++;
		} if(num[2] % i == 0) can_n++; num[2] % i == 0 num[2] % i num[2] num 2 i 0 can_n++ can_n System.out.println(can_n) System.out.println System.out System System.out can_n String[] args args public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int can_n = 0;
		int kaisu = 3;
		int[] num = new int[kaisu];
		for(int i = 0; i < kaisu; i++) {
			num[i] = scan.nextInt();
		}
		for(int i = num[0]; i <= num[1] ;i++) {
			if(num[2] % i == 0) can_n++;
		}
		System.out.println(can_n);

 }
} public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int can_n = 0;
		int kaisu = 3;
		int[] num = new int[kaisu];
		for(int i = 0; i < kaisu; i++) {
			num[i] = scan.nextInt();
		}
		for(int i = num[0]; i <= num[1] ;i++) {
			if(num[2] % i == 0) can_n++;
		}
		System.out.println(can_n);

 }
} Main
import java.util.*;

public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int can_n = 0;
		int kaisu = 3;
		int[] num = new int[kaisu];
		for(int i = 0; i < kaisu; i++) {
			num[i] = scan.nextInt();
		}
		for(int i = num[0]; i <= num[1] ;i++) {
			if(num[2] % i == 0) can_n++;
		}
		System.out.println(can_n);

 }
}