import static java.lang.System.out;
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int a = scan.nextInt();
        int b = scan.nextInt();
        int c = scan.nextInt();

        int counter = 0;

        while (a <= b) {
            if(c % a == 0) {                                           
                counter += 1;
            }
            a += 1;
        }

        out.println(counter);
    }   
} import static java.lang.System.out; import static java.lang.System.out; import static java.lang.System.out; import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int a = scan.nextInt();
        int b = scan.nextInt();
        int c = scan.nextInt();

        int counter = 0;

        while (a <= b) {
            if(c % a == 0) {                                           
                counter += 1;
            }
            a += 1;
        }

        out.println(counter);
    }   
} Main public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int a = scan.nextInt();
        int b = scan.nextInt();
        int c = scan.nextInt();

        int counter = 0;

        while (a <= b) {
            if(c % a == 0) {                                           
                counter += 1;
            }
            a += 1;
        }

        out.println(counter);
    } main {
        Scanner scan = new Scanner(System.in);
        int a = scan.nextInt();
        int b = scan.nextInt();
        int c = scan.nextInt();

        int counter = 0;

        while (a <= b) {
            if(c % a == 0) {                                           
                counter += 1;
            }
            a += 1;
        }

        out.println(counter);
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int a = scan.nextInt(); a scan.nextInt() scan.nextInt scan int b = scan.nextInt(); b scan.nextInt() scan.nextInt scan int c = scan.nextInt(); c scan.nextInt() scan.nextInt scan int counter = 0; counter 0 while (a <= b) {
            if(c % a == 0) {                                           
                counter += 1;
            }
            a += 1;
        } a <= b a b {
            if(c % a == 0) {                                           
                counter += 1;
            }
            a += 1;
        } if(c % a == 0) {                                           
                counter += 1;
            } c % a == 0 c % a c a 0 {                                           
                counter += 1;
            } counter += 1 counter 1 a += 1 a 1 out.println(counter) out.println out counter String[] args args public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int a = scan.nextInt();
        int b = scan.nextInt();
        int c = scan.nextInt();

        int counter = 0;

        while (a <= b) {
            if(c % a == 0) {                                           
                counter += 1;
            }
            a += 1;
        }

        out.println(counter);
    }   
} public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int a = scan.nextInt();
        int b = scan.nextInt();
        int c = scan.nextInt();

        int counter = 0;

        while (a <= b) {
            if(c % a == 0) {                                           
                counter += 1;
            }
            a += 1;
        }

        out.println(counter);
    }   
} Main
import static java.lang.System.out;
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int a = scan.nextInt();
        int b = scan.nextInt();
        int c = scan.nextInt();

        int counter = 0;

        while (a <= b) {
            if(c % a == 0) {                                           
                counter += 1;
            }
            a += 1;
        }

        out.println(counter);
    }   
}