import java.util.Scanner;

public class Main {
	
	private void calc(){
		Scanner scanner = new Scanner(System.in);
		int x=scanner.nextInt();
		int y=scanner.nextInt();
		int z=scanner.nextInt();
		int count=0;
		for(int i=x; i<=y; i++){
			if(z%i==0){
				count++;
			}
		}
		System.out.println(count);
		
	}
	
	public static void main(String[] args) {
		Main run =new Main();
		run.calc();

	}	

} import java.util.Scanner; Scanner java.util public class Main {
	
	private void calc(){
		Scanner scanner = new Scanner(System.in);
		int x=scanner.nextInt();
		int y=scanner.nextInt();
		int z=scanner.nextInt();
		int count=0;
		for(int i=x; i<=y; i++){
			if(z%i==0){
				count++;
			}
		}
		System.out.println(count);
		
	}
	
	public static void main(String[] args) {
		Main run =new Main();
		run.calc();

	}	

} Main private void calc(){
		Scanner scanner = new Scanner(System.in);
		int x=scanner.nextInt();
		int y=scanner.nextInt();
		int z=scanner.nextInt();
		int count=0;
		for(int i=x; i<=y; i++){
			if(z%i==0){
				count++;
			}
		}
		System.out.println(count);
		
	} calc {
		Scanner scanner = new Scanner(System.in);
		int x=scanner.nextInt();
		int y=scanner.nextInt();
		int z=scanner.nextInt();
		int count=0;
		for(int i=x; i<=y; i++){
			if(z%i==0){
				count++;
			}
		}
		System.out.println(count);
		
	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int x=scanner.nextInt(); x scanner.nextInt() scanner.nextInt scanner int y=scanner.nextInt(); y scanner.nextInt() scanner.nextInt scanner int z=scanner.nextInt(); z scanner.nextInt() scanner.nextInt scanner int count=0; count 0 for(int i=x; i<=y; i++){
			if(z%i==0){
				count++;
			}
		} int i=x; int i=x; i x i<=y i y i++ i++ i {
			if(z%i==0){
				count++;
			}
		} {
			if(z%i==0){
				count++;
			}
		} if(z%i==0){
				count++;
			} z%i==0 z%i z i 0 {
				count++;
			} count++ count System.out.println(count) System.out.println System.out System System.out count public static void main(String[] args) {
		Main run =new Main();
		run.calc();

	} main {
		Main run =new Main();
		run.calc();

	} Main run =new Main(); run new Main() run.calc() run.calc run String[] args args public class Main {
	
	private void calc(){
		Scanner scanner = new Scanner(System.in);
		int x=scanner.nextInt();
		int y=scanner.nextInt();
		int z=scanner.nextInt();
		int count=0;
		for(int i=x; i<=y; i++){
			if(z%i==0){
				count++;
			}
		}
		System.out.println(count);
		
	}
	
	public static void main(String[] args) {
		Main run =new Main();
		run.calc();

	}	

} public class Main {
	
	private void calc(){
		Scanner scanner = new Scanner(System.in);
		int x=scanner.nextInt();
		int y=scanner.nextInt();
		int z=scanner.nextInt();
		int count=0;
		for(int i=x; i<=y; i++){
			if(z%i==0){
				count++;
			}
		}
		System.out.println(count);
		
	}
	
	public static void main(String[] args) {
		Main run =new Main();
		run.calc();

	}	

} Main
import java.util.Scanner;

public class Main {
	
	private void calc(){
		Scanner scanner = new Scanner(System.in);
		int x=scanner.nextInt();
		int y=scanner.nextInt();
		int z=scanner.nextInt();
		int count=0;
		for(int i=x; i<=y; i++){
			if(z%i==0){
				count++;
			}
		}
		System.out.println(count);
		
	}
	
	public static void main(String[] args) {
		Main run =new Main();
		run.calc();

	}	

}