import java.util.Scanner;

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 divNum = 0;

        for (int i=a; i<=b; i++){
            if (c % i == 0)
                divNum += 1;
        }

        System.out.println(divNum);
    }
} import java.util.Scanner; Scanner java.util 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 divNum = 0;

        for (int i=a; i<=b; i++){
            if (c % i == 0)
                divNum += 1;
        }

        System.out.println(divNum);
    }
} 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 divNum = 0;

        for (int i=a; i<=b; i++){
            if (c % i == 0)
                divNum += 1;
        }

        System.out.println(divNum);
    } main {
        Scanner scan = new Scanner(System.in);

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

        int divNum = 0;

        for (int i=a; i<=b; i++){
            if (c % i == 0)
                divNum += 1;
        }

        System.out.println(divNum);
    } 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 divNum = 0; divNum 0 for (int i=a; i<=b; i++){
            if (c % i == 0)
                divNum += 1;
        } int i=a; int i=a; i a i<=b i b i++ i++ i {
            if (c % i == 0)
                divNum += 1;
        } {
            if (c % i == 0)
                divNum += 1;
        } if (c % i == 0)
                divNum += 1; c % i == 0 c % i c i 0 divNum += 1 divNum 1 System.out.println(divNum) System.out.println System.out System System.out divNum String[] args args
import java.util.Scanner;

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 divNum = 0;

        for (int i=a; i<=b; i++){
            if (c % i == 0)
                divNum += 1;
        }

        System.out.println(divNum);
    }
}