
import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int c = scanner.nextInt();

        // a
        int x = a - 1;

        // 約数の個数
        int y = 0;

        while (x < b) {
            x++;
            if (c % x == 0) {
                y++;
            }
        }
        
        System.out.println(y);
    }
}
 import java.util.Scanner; Scanner java.util public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int c = scanner.nextInt();

        // a
        int x = a - 1;

        // 約数の個数
        int y = 0;

        while (x < b) {
            x++;
            if (c % x == 0) {
                y++;
            }
        }
        
        System.out.println(y);
    }
} Main public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int c = scanner.nextInt();

        // a
        int x = a - 1;

        // 約数の個数
        int y = 0;

        while (x < b) {
            x++;
            if (c % x == 0) {
                y++;
            }
        }
        
        System.out.println(y);
    } main {
        Scanner scanner = new Scanner(System.in);

        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int c = scanner.nextInt();

        // a
        int x = a - 1;

        // 約数の個数
        int y = 0;

        while (x < b) {
            x++;
            if (c % x == 0) {
                y++;
            }
        }
        
        System.out.println(y);
    } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int a = scanner.nextInt(); a scanner.nextInt() scanner.nextInt scanner int b = scanner.nextInt(); b scanner.nextInt() scanner.nextInt scanner int c = scanner.nextInt(); c scanner.nextInt() scanner.nextInt scanner int x = a - 1; x a - 1 a 1 int y = 0; y 0 while (x < b) {
            x++;
            if (c % x == 0) {
                y++;
            }
        } x < b x b {
            x++;
            if (c % x == 0) {
                y++;
            }
        } x++ x if (c % x == 0) {
                y++;
            } c % x == 0 c % x c x 0 {
                y++;
            } y++ y System.out.println(y) System.out.println System.out System System.out y String[] args args public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int c = scanner.nextInt();

        // a
        int x = a - 1;

        // 約数の個数
        int y = 0;

        while (x < b) {
            x++;
            if (c % x == 0) {
                y++;
            }
        }
        
        System.out.println(y);
    }
} public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int c = scanner.nextInt();

        // a
        int x = a - 1;

        // 約数の個数
        int y = 0;

        while (x < b) {
            x++;
            if (c % x == 0) {
                y++;
            }
        }
        
        System.out.println(y);
    }
} Main

import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int c = scanner.nextInt();

        // a
        int x = a - 1;

        // 約数の個数
        int y = 0;

        while (x < b) {
            x++;
            if (c % x == 0) {
                y++;
            }
        }
        
        System.out.println(y);
    }
}

