import java.io.*;
import java.util.Scanner;
 
public class Main {
    public static int divisors(int a, int b, int c) {
        int count = 0;
        if (b >= c && a <= c) count++;

        b = Math.min(b, c / 2);
        for (int i = a; i <= b; i++) {
            if (c % i == 0) count++;
        }
        return count;
    }
 
    public static void main (String[] args) {
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        // int y = sc.nextInt();
        // int r = sc.nextInt();
        System.out.println(divisors(a,b,c));
    }
} import java.io.*; io.* java import java.util.Scanner; Scanner java.util public class Main {
    public static int divisors(int a, int b, int c) {
        int count = 0;
        if (b >= c && a <= c) count++;

        b = Math.min(b, c / 2);
        for (int i = a; i <= b; i++) {
            if (c % i == 0) count++;
        }
        return count;
    }
 
    public static void main (String[] args) {
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        // int y = sc.nextInt();
        // int r = sc.nextInt();
        System.out.println(divisors(a,b,c));
    }
} Main public static int divisors(int a, int b, int c) {
        int count = 0;
        if (b >= c && a <= c) count++;

        b = Math.min(b, c / 2);
        for (int i = a; i <= b; i++) {
            if (c % i == 0) count++;
        }
        return count;
    } divisors {
        int count = 0;
        if (b >= c && a <= c) count++;

        b = Math.min(b, c / 2);
        for (int i = a; i <= b; i++) {
            if (c % i == 0) count++;
        }
        return count;
    } int count = 0; count 0 if (b >= c && a <= c) count++; b >= c && a <= c b >= c b c a <= c a c count++ count b = Math.min(b, c / 2) b Math.min(b, c / 2) Math.min Math b c / 2 c 2 for (int i = a; i <= b; i++) {
            if (c % i == 0) count++;
        } int i = a; int i = a; i a i <= b i b i++ i++ i {
            if (c % i == 0) count++;
        } {
            if (c % i == 0) count++;
        } if (c % i == 0) count++; c % i == 0 c % i c i 0 count++ count return count; count int a a int b b int c c public static void main (String[] args) {
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        // int y = sc.nextInt();
        // int r = sc.nextInt();
        System.out.println(divisors(a,b,c));
    } main {
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        // int y = sc.nextInt();
        // int r = sc.nextInt();
        System.out.println(divisors(a,b,c));
    } Scanner sc = new Scanner(System.in); sc new Scanner(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 System.out.println(divisors(a,b,c)) System.out.println System.out System System.out divisors(a,b,c) divisors a b c String[] args args public class Main {
    public static int divisors(int a, int b, int c) {
        int count = 0;
        if (b >= c && a <= c) count++;

        b = Math.min(b, c / 2);
        for (int i = a; i <= b; i++) {
            if (c % i == 0) count++;
        }
        return count;
    }
 
    public static void main (String[] args) {
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        // int y = sc.nextInt();
        // int r = sc.nextInt();
        System.out.println(divisors(a,b,c));
    }
} public class Main {
    public static int divisors(int a, int b, int c) {
        int count = 0;
        if (b >= c && a <= c) count++;

        b = Math.min(b, c / 2);
        for (int i = a; i <= b; i++) {
            if (c % i == 0) count++;
        }
        return count;
    }
 
    public static void main (String[] args) {
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        // int y = sc.nextInt();
        // int r = sc.nextInt();
        System.out.println(divisors(a,b,c));
    }
} Main
import java.io.*;
import java.util.Scanner;
 
public class Main {
    public static int divisors(int a, int b, int c) {
        int count = 0;
        if (b >= c && a <= c) count++;

        b = Math.min(b, c / 2);
        for (int i = a; i <= b; i++) {
            if (c % i == 0) count++;
        }
        return count;
    }
 
    public static void main (String[] args) {
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        // int y = sc.nextInt();
        // int r = sc.nextInt();
        System.out.println(divisors(a,b,c));
    }
}
