import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		
		Scanner s = new Scanner(System.in);
		
		int a = Integer.parseInt(s.next());
		int b = Integer.parseInt(s.next());
		int c = Integer.parseInt(s.next());
		int counter = 0;
		
		while(true){
			 
			if(a>b){
				 break;
			 }
			
			if(c%a == 0){
				counter++;
			}
			a++;
			
			
		}
		
		System.out.println(counter);
	}

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

	public static void main(String[] args) {
		
		Scanner s = new Scanner(System.in);
		
		int a = Integer.parseInt(s.next());
		int b = Integer.parseInt(s.next());
		int c = Integer.parseInt(s.next());
		int counter = 0;
		
		while(true){
			 
			if(a>b){
				 break;
			 }
			
			if(c%a == 0){
				counter++;
			}
			a++;
			
			
		}
		
		System.out.println(counter);
	}

} Main public static void main(String[] args) {
		
		Scanner s = new Scanner(System.in);
		
		int a = Integer.parseInt(s.next());
		int b = Integer.parseInt(s.next());
		int c = Integer.parseInt(s.next());
		int counter = 0;
		
		while(true){
			 
			if(a>b){
				 break;
			 }
			
			if(c%a == 0){
				counter++;
			}
			a++;
			
			
		}
		
		System.out.println(counter);
	} main {
		
		Scanner s = new Scanner(System.in);
		
		int a = Integer.parseInt(s.next());
		int b = Integer.parseInt(s.next());
		int c = Integer.parseInt(s.next());
		int counter = 0;
		
		while(true){
			 
			if(a>b){
				 break;
			 }
			
			if(c%a == 0){
				counter++;
			}
			a++;
			
			
		}
		
		System.out.println(counter);
	} Scanner s = new Scanner(System.in); s new Scanner(System.in) int a = Integer.parseInt(s.next()); a Integer.parseInt(s.next()) Integer.parseInt Integer s.next() s.next s int b = Integer.parseInt(s.next()); b Integer.parseInt(s.next()) Integer.parseInt Integer s.next() s.next s int c = Integer.parseInt(s.next()); c Integer.parseInt(s.next()) Integer.parseInt Integer s.next() s.next s int counter = 0; counter 0 while(true){
			 
			if(a>b){
				 break;
			 }
			
			if(c%a == 0){
				counter++;
			}
			a++;
			
			
		} true {
			 
			if(a>b){
				 break;
			 }
			
			if(c%a == 0){
				counter++;
			}
			a++;
			
			
		} if(a>b){
				 break;
			 } a>b a b {
				 break;
			 } break; if(c%a == 0){
				counter++;
			} c%a == 0 c%a c a 0 {
				counter++;
			} counter++ counter a++ a System.out.println(counter) System.out.println System.out System System.out counter String[] args args public class Main {

	public static void main(String[] args) {
		
		Scanner s = new Scanner(System.in);
		
		int a = Integer.parseInt(s.next());
		int b = Integer.parseInt(s.next());
		int c = Integer.parseInt(s.next());
		int counter = 0;
		
		while(true){
			 
			if(a>b){
				 break;
			 }
			
			if(c%a == 0){
				counter++;
			}
			a++;
			
			
		}
		
		System.out.println(counter);
	}

} public class Main {

	public static void main(String[] args) {
		
		Scanner s = new Scanner(System.in);
		
		int a = Integer.parseInt(s.next());
		int b = Integer.parseInt(s.next());
		int c = Integer.parseInt(s.next());
		int counter = 0;
		
		while(true){
			 
			if(a>b){
				 break;
			 }
			
			if(c%a == 0){
				counter++;
			}
			a++;
			
			
		}
		
		System.out.println(counter);
	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		
		Scanner s = new Scanner(System.in);
		
		int a = Integer.parseInt(s.next());
		int b = Integer.parseInt(s.next());
		int c = Integer.parseInt(s.next());
		int counter = 0;
		
		while(true){
			 
			if(a>b){
				 break;
			 }
			
			if(c%a == 0){
				counter++;
			}
			a++;
			
			
		}
		
		System.out.println(counter);
	}

}