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