import java.util.Scanner;

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

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

        System.out.println(sum);
    }
} 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(), b = scan.nextInt(), c = scan.nextInt();
        int sum = 0;

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

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

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

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

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

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

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

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

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

        System.out.println(sum);
    }
} Main
import java.util.Scanner;

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

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

        System.out.println(sum);
    }
}