import java.util.Scanner;

class Main {
    public static void main(String[] args) throws Exception{
        Scanner sc = new Scanner(System.in);
        int x = sc.nextInt();
        int y = sc.nextInt();
        int z = sc.nextInt();
        int count = 0;
        for(int i = x; i <= y; i++){
            if(z%i == 0){
                count++;
            }
        }
        System.out.println(count);
    }
} import java.util.Scanner; Scanner java.util class Main {
    public static void main(String[] args) throws Exception{
        Scanner sc = new Scanner(System.in);
        int x = sc.nextInt();
        int y = sc.nextInt();
        int z = sc.nextInt();
        int count = 0;
        for(int i = x; i <= y; i++){
            if(z%i == 0){
                count++;
            }
        }
        System.out.println(count);
    }
} Main public static void main(String[] args) throws Exception{
        Scanner sc = new Scanner(System.in);
        int x = sc.nextInt();
        int y = sc.nextInt();
        int z = sc.nextInt();
        int count = 0;
        for(int i = x; i <= y; i++){
            if(z%i == 0){
                count++;
            }
        }
        System.out.println(count);
    } main {
        Scanner sc = new Scanner(System.in);
        int x = sc.nextInt();
        int y = sc.nextInt();
        int z = sc.nextInt();
        int count = 0;
        for(int i = x; i <= y; i++){
            if(z%i == 0){
                count++;
            }
        }
        System.out.println(count);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int x = sc.nextInt(); x sc.nextInt() sc.nextInt sc int y = sc.nextInt(); y sc.nextInt() sc.nextInt sc int z = sc.nextInt(); z sc.nextInt() sc.nextInt sc int count = 0; count 0 for(int i = x; i <= y; i++){
            if(z%i == 0){
                count++;
            }
        } int i = x; int i = x; i x i <= y i y i++ i++ i {
            if(z%i == 0){
                count++;
            }
        } {
            if(z%i == 0){
                count++;
            }
        } if(z%i == 0){
                count++;
            } z%i == 0 z%i z i 0 {
                count++;
            } count++ count System.out.println(count) System.out.println System.out System System.out count String[] args args
import java.util.Scanner;

class Main {
    public static void main(String[] args) throws Exception{
        Scanner sc = new Scanner(System.in);
        int x = sc.nextInt();
        int y = sc.nextInt();
        int z = sc.nextInt();
        int count = 0;
        for(int i = x; i <= y; i++){
            if(z%i == 0){
                count++;
            }
        }
        System.out.println(count);
    }
}