
import java.util.Scanner;

public class Main {
	public static void main(String[] args){
	    Scanner std = new Scanner(System.in);
	    int a = Integer.parseInt(std.next());
	    int b = Integer.parseInt(std.next());
	    int c = Integer.parseInt(std.next());
	    int divisor = 0;
	    for(int n = a; n <= b; n++ ){
	    	if(c%n==0){divisor++;}
	    }
	    System.out.println(divisor);
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args){
	    Scanner std = new Scanner(System.in);
	    int a = Integer.parseInt(std.next());
	    int b = Integer.parseInt(std.next());
	    int c = Integer.parseInt(std.next());
	    int divisor = 0;
	    for(int n = a; n <= b; n++ ){
	    	if(c%n==0){divisor++;}
	    }
	    System.out.println(divisor);
	}
} Main public static void main(String[] args){
	    Scanner std = new Scanner(System.in);
	    int a = Integer.parseInt(std.next());
	    int b = Integer.parseInt(std.next());
	    int c = Integer.parseInt(std.next());
	    int divisor = 0;
	    for(int n = a; n <= b; n++ ){
	    	if(c%n==0){divisor++;}
	    }
	    System.out.println(divisor);
	} main {
	    Scanner std = new Scanner(System.in);
	    int a = Integer.parseInt(std.next());
	    int b = Integer.parseInt(std.next());
	    int c = Integer.parseInt(std.next());
	    int divisor = 0;
	    for(int n = a; n <= b; n++ ){
	    	if(c%n==0){divisor++;}
	    }
	    System.out.println(divisor);
	} Scanner std = new Scanner(System.in); std new Scanner(System.in) int a = Integer.parseInt(std.next()); a Integer.parseInt(std.next()) Integer.parseInt Integer std.next() std.next std int b = Integer.parseInt(std.next()); b Integer.parseInt(std.next()) Integer.parseInt Integer std.next() std.next std int c = Integer.parseInt(std.next()); c Integer.parseInt(std.next()) Integer.parseInt Integer std.next() std.next std int divisor = 0; divisor 0 for(int n = a; n <= b; n++ ){
	    	if(c%n==0){divisor++;}
	    } int n = a; int n = a; n a n <= b n b n++ n++ n {
	    	if(c%n==0){divisor++;}
	    } {
	    	if(c%n==0){divisor++;}
	    } if(c%n==0){divisor++;} c%n==0 c%n c n 0 {divisor++;} divisor++ divisor System.out.println(divisor) System.out.println System.out System System.out divisor String[] args args public class Main {
	public static void main(String[] args){
	    Scanner std = new Scanner(System.in);
	    int a = Integer.parseInt(std.next());
	    int b = Integer.parseInt(std.next());
	    int c = Integer.parseInt(std.next());
	    int divisor = 0;
	    for(int n = a; n <= b; n++ ){
	    	if(c%n==0){divisor++;}
	    }
	    System.out.println(divisor);
	}
} public class Main {
	public static void main(String[] args){
	    Scanner std = new Scanner(System.in);
	    int a = Integer.parseInt(std.next());
	    int b = Integer.parseInt(std.next());
	    int c = Integer.parseInt(std.next());
	    int divisor = 0;
	    for(int n = a; n <= b; n++ ){
	    	if(c%n==0){divisor++;}
	    }
	    System.out.println(divisor);
	}
} Main

import java.util.Scanner;

public class Main {
	public static void main(String[] args){
	    Scanner std = new Scanner(System.in);
	    int a = Integer.parseInt(std.next());
	    int b = Integer.parseInt(std.next());
	    int c = Integer.parseInt(std.next());
	    int divisor = 0;
	    for(int n = a; n <= b; n++ ){
	    	if(c%n==0){divisor++;}
	    }
	    System.out.println(divisor);
	}
}