import java.util.Scanner;

class Main{
  public static void main(String[] arg){
  	int a, b, c, cnt=0;
  	Scanner in = new Scanner(System.in);
  	a = in.nextInt();
  	b = in.nextInt();
  	c = in.nextInt();
  	for(int i=a; i<=b; i++){
  		if(c/i > 0 && c%i == 0){
  			cnt++;
  		}
  	}
  	System.out.println(cnt);
	}
} import java.util.Scanner; Scanner java.util class Main{
  public static void main(String[] arg){
  	int a, b, c, cnt=0;
  	Scanner in = new Scanner(System.in);
  	a = in.nextInt();
  	b = in.nextInt();
  	c = in.nextInt();
  	for(int i=a; i<=b; i++){
  		if(c/i > 0 && c%i == 0){
  			cnt++;
  		}
  	}
  	System.out.println(cnt);
	}
} Main public static void main(String[] arg){
  	int a, b, c, cnt=0;
  	Scanner in = new Scanner(System.in);
  	a = in.nextInt();
  	b = in.nextInt();
  	c = in.nextInt();
  	for(int i=a; i<=b; i++){
  		if(c/i > 0 && c%i == 0){
  			cnt++;
  		}
  	}
  	System.out.println(cnt);
	} main {
  	int a, b, c, cnt=0;
  	Scanner in = new Scanner(System.in);
  	a = in.nextInt();
  	b = in.nextInt();
  	c = in.nextInt();
  	for(int i=a; i<=b; i++){
  		if(c/i > 0 && c%i == 0){
  			cnt++;
  		}
  	}
  	System.out.println(cnt);
	} int a a b b c c cnt=0; cnt 0 Scanner in = new Scanner(System.in); in new Scanner(System.in) a = in.nextInt() a in.nextInt() in.nextInt in b = in.nextInt() b in.nextInt() in.nextInt in c = in.nextInt() c in.nextInt() in.nextInt in for(int i=a; i<=b; i++){
  		if(c/i > 0 && c%i == 0){
  			cnt++;
  		}
  	} int i=a; int i=a; i a i<=b i b i++ i++ i {
  		if(c/i > 0 && c%i == 0){
  			cnt++;
  		}
  	} {
  		if(c/i > 0 && c%i == 0){
  			cnt++;
  		}
  	} if(c/i > 0 && c%i == 0){
  			cnt++;
  		} c/i > 0 && c%i == 0 c/i > 0 c/i c i 0 c%i == 0 c%i c i 0 {
  			cnt++;
  		} cnt++ cnt System.out.println(cnt) System.out.println System.out System System.out cnt String[] arg arg
import java.util.Scanner;

class Main{
  public static void main(String[] arg){
  	int a, b, c, cnt=0;
  	Scanner in = new Scanner(System.in);
  	a = in.nextInt();
  	b = in.nextInt();
  	c = in.nextInt();
  	for(int i=a; i<=b; i++){
  		if(c/i > 0 && c%i == 0){
  			cnt++;
  		}
  	}
  	System.out.println(cnt);
	}
}