public class Main {


		public static void main(String[] args) {
		java.util.Scanner scan = new java.util.Scanner(System.in);
		int a;
		int b;
		int c;
		int i = 1;
		int t = 0;
		a = scan.nextInt();
		b = scan.nextInt();
		c = scan.nextInt();
		
		if(a <= b && 1<=a && a <=10000 && 1<=b && b <=10000 && 1<=c && c<= 10000){
		for(i = a; i <= b ; i++){
			if(c % i == 0){
				
				t += 1;
			}
		}
		}System.out.println(t);
		
			




		}
} public class Main {


		public static void main(String[] args) {
		java.util.Scanner scan = new java.util.Scanner(System.in);
		int a;
		int b;
		int c;
		int i = 1;
		int t = 0;
		a = scan.nextInt();
		b = scan.nextInt();
		c = scan.nextInt();
		
		if(a <= b && 1<=a && a <=10000 && 1<=b && b <=10000 && 1<=c && c<= 10000){
		for(i = a; i <= b ; i++){
			if(c % i == 0){
				
				t += 1;
			}
		}
		}System.out.println(t);
		
			




		}
} Main public static void main(String[] args) {
		java.util.Scanner scan = new java.util.Scanner(System.in);
		int a;
		int b;
		int c;
		int i = 1;
		int t = 0;
		a = scan.nextInt();
		b = scan.nextInt();
		c = scan.nextInt();
		
		if(a <= b && 1<=a && a <=10000 && 1<=b && b <=10000 && 1<=c && c<= 10000){
		for(i = a; i <= b ; i++){
			if(c % i == 0){
				
				t += 1;
			}
		}
		}System.out.println(t);
		
			




		} main {
		java.util.Scanner scan = new java.util.Scanner(System.in);
		int a;
		int b;
		int c;
		int i = 1;
		int t = 0;
		a = scan.nextInt();
		b = scan.nextInt();
		c = scan.nextInt();
		
		if(a <= b && 1<=a && a <=10000 && 1<=b && b <=10000 && 1<=c && c<= 10000){
		for(i = a; i <= b ; i++){
			if(c % i == 0){
				
				t += 1;
			}
		}
		}System.out.println(t);
		
			




		} java.util.Scanner scan = new java.util.Scanner(System.in); scan new java.util.Scanner(System.in) int a; a int b; b int c; c int i = 1; i 1 int t = 0; t 0 a = scan.nextInt() a scan.nextInt() scan.nextInt scan b = scan.nextInt() b scan.nextInt() scan.nextInt scan c = scan.nextInt() c scan.nextInt() scan.nextInt scan if(a <= b && 1<=a && a <=10000 && 1<=b && b <=10000 && 1<=c && c<= 10000){
		for(i = a; i <= b ; i++){
			if(c % i == 0){
				
				t += 1;
			}
		}
		} a <= b && 1<=a && a <=10000 && 1<=b && b <=10000 && 1<=c && c<= 10000 1<=c b <=10000 1<=b a <=10000 a <= b && 1<=a && a <=10000 && 1<=b && b <=10000 && 1<=c && c<= 10000 a <= b a b 1<=a 1 a a <=10000 a 10000 1<=b 1 b b <=10000 b 10000 1<=c 1 c c<= 10000 c 10000 {
		for(i = a; i <= b ; i++){
			if(c % i == 0){
				
				t += 1;
			}
		}
		} for(i = a; i <= b ; i++){
			if(c % i == 0){
				
				t += 1;
			}
		} i = a; i = a i a i <= b i b i++ i++ i {
			if(c % i == 0){
				
				t += 1;
			}
		} {
			if(c % i == 0){
				
				t += 1;
			}
		} if(c % i == 0){
				
				t += 1;
			} c % i == 0 c % i c i 0 {
				
				t += 1;
			} t += 1 t 1 System.out.println(t) System.out.println System.out System System.out t String[] args args public class Main {


		public static void main(String[] args) {
		java.util.Scanner scan = new java.util.Scanner(System.in);
		int a;
		int b;
		int c;
		int i = 1;
		int t = 0;
		a = scan.nextInt();
		b = scan.nextInt();
		c = scan.nextInt();
		
		if(a <= b && 1<=a && a <=10000 && 1<=b && b <=10000 && 1<=c && c<= 10000){
		for(i = a; i <= b ; i++){
			if(c % i == 0){
				
				t += 1;
			}
		}
		}System.out.println(t);
		
			




		}
} public class Main {


		public static void main(String[] args) {
		java.util.Scanner scan = new java.util.Scanner(System.in);
		int a;
		int b;
		int c;
		int i = 1;
		int t = 0;
		a = scan.nextInt();
		b = scan.nextInt();
		c = scan.nextInt();
		
		if(a <= b && 1<=a && a <=10000 && 1<=b && b <=10000 && 1<=c && c<= 10000){
		for(i = a; i <= b ; i++){
			if(c % i == 0){
				
				t += 1;
			}
		}
		}System.out.println(t);
		
			




		}
} Main
public class Main {


		public static void main(String[] args) {
		java.util.Scanner scan = new java.util.Scanner(System.in);
		int a;
		int b;
		int c;
		int i = 1;
		int t = 0;
		a = scan.nextInt();
		b = scan.nextInt();
		c = scan.nextInt();
		
		if(a <= b && 1<=a && a <=10000 && 1<=b && b <=10000 && 1<=c && c<= 10000){
		for(i = a; i <= b ; i++){
			if(c % i == 0){
				
				t += 1;
			}
		}
		}System.out.println(t);
		
			




		}
}