import java.io.*;
import java.util.*;

public class Main {
	public static void main (String[] args){
	Scanner sc=new Scanner(new InputStreamReader(System.in));
	int a=sc.nextInt();
	int b=sc.nextInt();
	int c=sc.nextInt();
	sc.close();
	int x=0;
	for(int i=a;i<=b;i++){
		if(c%i==0) x++;
	}
	System.out.println(x);
	}
} import java.io.*; io.* java import java.util.*; util.* java public class Main {
	public static void main (String[] args){
	Scanner sc=new Scanner(new InputStreamReader(System.in));
	int a=sc.nextInt();
	int b=sc.nextInt();
	int c=sc.nextInt();
	sc.close();
	int x=0;
	for(int i=a;i<=b;i++){
		if(c%i==0) x++;
	}
	System.out.println(x);
	}
} Main public static void main (String[] args){
	Scanner sc=new Scanner(new InputStreamReader(System.in));
	int a=sc.nextInt();
	int b=sc.nextInt();
	int c=sc.nextInt();
	sc.close();
	int x=0;
	for(int i=a;i<=b;i++){
		if(c%i==0) x++;
	}
	System.out.println(x);
	} main {
	Scanner sc=new Scanner(new InputStreamReader(System.in));
	int a=sc.nextInt();
	int b=sc.nextInt();
	int c=sc.nextInt();
	sc.close();
	int x=0;
	for(int i=a;i<=b;i++){
		if(c%i==0) x++;
	}
	System.out.println(x);
	} Scanner sc=new Scanner(new InputStreamReader(System.in)); sc new Scanner(new InputStreamReader(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 sc.close() sc.close sc int x=0; x 0 for(int i=a;i<=b;i++){
		if(c%i==0) x++;
	} int i=a; int i=a; i a i<=b i b i++ i++ i {
		if(c%i==0) x++;
	} {
		if(c%i==0) x++;
	} if(c%i==0) x++; c%i==0 c%i c i 0 x++ x System.out.println(x) System.out.println System.out System System.out x String[] args args public class Main {
	public static void main (String[] args){
	Scanner sc=new Scanner(new InputStreamReader(System.in));
	int a=sc.nextInt();
	int b=sc.nextInt();
	int c=sc.nextInt();
	sc.close();
	int x=0;
	for(int i=a;i<=b;i++){
		if(c%i==0) x++;
	}
	System.out.println(x);
	}
} public class Main {
	public static void main (String[] args){
	Scanner sc=new Scanner(new InputStreamReader(System.in));
	int a=sc.nextInt();
	int b=sc.nextInt();
	int c=sc.nextInt();
	sc.close();
	int x=0;
	for(int i=a;i<=b;i++){
		if(c%i==0) x++;
	}
	System.out.println(x);
	}
} Main
import java.io.*;
import java.util.*;

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