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