import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int numA, numB, numC;
        int count = 0;

        numA = Integer.parseInt(scan.next());
        numB = Integer.parseInt(scan.next());
        numC = Integer.parseInt(scan.next());

        for (int i = numA; i < numB + 1 ; i++) {
            if (numC % 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 numA, numB, numC;
        int count = 0;

        numA = Integer.parseInt(scan.next());
        numB = Integer.parseInt(scan.next());
        numC = Integer.parseInt(scan.next());

        for (int i = numA; i < numB + 1 ; i++) {
            if (numC % i == 0) count++;
        }

        System.out.println(count);
    }
} Main public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int numA, numB, numC;
        int count = 0;

        numA = Integer.parseInt(scan.next());
        numB = Integer.parseInt(scan.next());
        numC = Integer.parseInt(scan.next());

        for (int i = numA; i < numB + 1 ; i++) {
            if (numC % i == 0) count++;
        }

        System.out.println(count);
    } main {
        Scanner scan = new Scanner(System.in);
        int numA, numB, numC;
        int count = 0;

        numA = Integer.parseInt(scan.next());
        numB = Integer.parseInt(scan.next());
        numC = Integer.parseInt(scan.next());

        for (int i = numA; i < numB + 1 ; i++) {
            if (numC % i == 0) count++;
        }

        System.out.println(count);
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int numA numA numB numB numC; numC int count = 0; count 0 numA = Integer.parseInt(scan.next()) numA Integer.parseInt(scan.next()) Integer.parseInt Integer scan.next() scan.next scan numB = Integer.parseInt(scan.next()) numB Integer.parseInt(scan.next()) Integer.parseInt Integer scan.next() scan.next scan numC = Integer.parseInt(scan.next()) numC Integer.parseInt(scan.next()) Integer.parseInt Integer scan.next() scan.next scan for (int i = numA; i < numB + 1 ; i++) {
            if (numC % i == 0) count++;
        } int i = numA; int i = numA; i numA i < numB + 1 i numB + 1 numB 1 i++ i++ i {
            if (numC % i == 0) count++;
        } {
            if (numC % i == 0) count++;
        } if (numC % i == 0) count++; numC % i == 0 numC % i numC 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 numA, numB, numC;
        int count = 0;

        numA = Integer.parseInt(scan.next());
        numB = Integer.parseInt(scan.next());
        numC = Integer.parseInt(scan.next());

        for (int i = numA; i < numB + 1 ; i++) {
            if (numC % i == 0) count++;
        }

        System.out.println(count);
    }
} public class Main {

    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int numA, numB, numC;
        int count = 0;

        numA = Integer.parseInt(scan.next());
        numB = Integer.parseInt(scan.next());
        numC = Integer.parseInt(scan.next());

        for (int i = numA; i < numB + 1 ; i++) {
            if (numC % 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 numA, numB, numC;
        int count = 0;

        numA = Integer.parseInt(scan.next());
        numB = Integer.parseInt(scan.next());
        numC = Integer.parseInt(scan.next());

        for (int i = numA; i < numB + 1 ; i++) {
            if (numC % i == 0) count++;
        }

        System.out.println(count);
    }
}

