import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner stdn = new Scanner(System.in);

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

		int a = stdn.nextInt();
		int b = stdn.nextInt();
		int c = stdn.nextInt();
		int flg = 0;
		
		for( ; a <= b; a++){
			if(c % a == 0){
				flg++;
			}
		}
		System.out.println(flg);
	}
} Main public static void main(String[] args) {
		Scanner stdn = new Scanner(System.in);

		int a = stdn.nextInt();
		int b = stdn.nextInt();
		int c = stdn.nextInt();
		int flg = 0;
		
		for( ; a <= b; a++){
			if(c % a == 0){
				flg++;
			}
		}
		System.out.println(flg);
	} main {
		Scanner stdn = new Scanner(System.in);

		int a = stdn.nextInt();
		int b = stdn.nextInt();
		int c = stdn.nextInt();
		int flg = 0;
		
		for( ; a <= b; a++){
			if(c % a == 0){
				flg++;
			}
		}
		System.out.println(flg);
	} Scanner stdn = new Scanner(System.in); stdn new Scanner(System.in) int a = stdn.nextInt(); a stdn.nextInt() stdn.nextInt stdn int b = stdn.nextInt(); b stdn.nextInt() stdn.nextInt stdn int c = stdn.nextInt(); c stdn.nextInt() stdn.nextInt stdn int flg = 0; flg 0 for( ; a <= b; a++){
			if(c % a == 0){
				flg++;
			}
		} ; a <= b a b a++ a++ a {
			if(c % a == 0){
				flg++;
			}
		} {
			if(c % a == 0){
				flg++;
			}
		} if(c % a == 0){
				flg++;
			} c % a == 0 c % a c a 0 {
				flg++;
			} flg++ flg System.out.println(flg) System.out.println System.out System System.out flg String[] args args public class Main {
	public static void main(String[] args) {
		Scanner stdn = new Scanner(System.in);

		int a = stdn.nextInt();
		int b = stdn.nextInt();
		int c = stdn.nextInt();
		int flg = 0;
		
		for( ; a <= b; a++){
			if(c % a == 0){
				flg++;
			}
		}
		System.out.println(flg);
	}
} public class Main {
	public static void main(String[] args) {
		Scanner stdn = new Scanner(System.in);

		int a = stdn.nextInt();
		int b = stdn.nextInt();
		int c = stdn.nextInt();
		int flg = 0;
		
		for( ; a <= b; a++){
			if(c % a == 0){
				flg++;
			}
		}
		System.out.println(flg);
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner stdn = new Scanner(System.in);

		int a = stdn.nextInt();
		int b = stdn.nextInt();
		int c = stdn.nextInt();
		int flg = 0;
		
		for( ; a <= b; a++){
			if(c % a == 0){
				flg++;
			}
		}
		System.out.println(flg);
	}
}