import java.util.Scanner;

public class Main {
	public static void main(String[] args){
                Scanner scan = new Scanner(System.in);
                int iNumA = scan.nextInt();
                int iNumB = scan.nextInt();
                int iNumC = scan.nextInt();
                int count = 0;
                for(int i=iNumA; i<=iNumB; i++){
                	if(iNumC%i == 0)
                		count++;
                }
                System.out.println(count);
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args){
                Scanner scan = new Scanner(System.in);
                int iNumA = scan.nextInt();
                int iNumB = scan.nextInt();
                int iNumC = scan.nextInt();
                int count = 0;
                for(int i=iNumA; i<=iNumB; i++){
                	if(iNumC%i == 0)
                		count++;
                }
                System.out.println(count);
	}
} Main public static void main(String[] args){
                Scanner scan = new Scanner(System.in);
                int iNumA = scan.nextInt();
                int iNumB = scan.nextInt();
                int iNumC = scan.nextInt();
                int count = 0;
                for(int i=iNumA; i<=iNumB; i++){
                	if(iNumC%i == 0)
                		count++;
                }
                System.out.println(count);
	} main {
                Scanner scan = new Scanner(System.in);
                int iNumA = scan.nextInt();
                int iNumB = scan.nextInt();
                int iNumC = scan.nextInt();
                int count = 0;
                for(int i=iNumA; i<=iNumB; i++){
                	if(iNumC%i == 0)
                		count++;
                }
                System.out.println(count);
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int iNumA = scan.nextInt(); iNumA scan.nextInt() scan.nextInt scan int iNumB = scan.nextInt(); iNumB scan.nextInt() scan.nextInt scan int iNumC = scan.nextInt(); iNumC scan.nextInt() scan.nextInt scan int count = 0; count 0 for(int i=iNumA; i<=iNumB; i++){
                	if(iNumC%i == 0)
                		count++;
                } int i=iNumA; int i=iNumA; i iNumA i<=iNumB i iNumB i++ i++ i {
                	if(iNumC%i == 0)
                		count++;
                } {
                	if(iNumC%i == 0)
                		count++;
                } if(iNumC%i == 0)
                		count++; iNumC%i == 0 iNumC%i iNumC i 0 count++ count System.out.println(count) System.out.println System.out System System.out count String[] args args public class Main {
	public static void main(String[] args){
                Scanner scan = new Scanner(System.in);
                int iNumA = scan.nextInt();
                int iNumB = scan.nextInt();
                int iNumC = scan.nextInt();
                int count = 0;
                for(int i=iNumA; i<=iNumB; i++){
                	if(iNumC%i == 0)
                		count++;
                }
                System.out.println(count);
	}
} public class Main {
	public static void main(String[] args){
                Scanner scan = new Scanner(System.in);
                int iNumA = scan.nextInt();
                int iNumB = scan.nextInt();
                int iNumC = scan.nextInt();
                int count = 0;
                for(int i=iNumA; i<=iNumB; i++){
                	if(iNumC%i == 0)
                		count++;
                }
                System.out.println(count);
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args){
                Scanner scan = new Scanner(System.in);
                int iNumA = scan.nextInt();
                int iNumB = scan.nextInt();
                int iNumC = scan.nextInt();
                int count = 0;
                for(int i=iNumA; i<=iNumB; i++){
                	if(iNumC%i == 0)
                		count++;
                }
                System.out.println(count);
	}
}