import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int[] a = new int[]{sc.nextInt(), sc.nextInt(), sc.nextInt()};
        int count = 0;
        for (int i = a[0]; i <= a[1]; i++) {
            if (a[2] % i == 0) {
                count++;
            }
        }
        System.out.println(count);
    }
} import java.util.Scanner; Scanner java.util public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int[] a = new int[]{sc.nextInt(), sc.nextInt(), sc.nextInt()};
        int count = 0;
        for (int i = a[0]; i <= a[1]; i++) {
            if (a[2] % i == 0) {
                count++;
            }
        }
        System.out.println(count);
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int[] a = new int[]{sc.nextInt(), sc.nextInt(), sc.nextInt()};
        int count = 0;
        for (int i = a[0]; i <= a[1]; i++) {
            if (a[2] % i == 0) {
                count++;
            }
        }
        System.out.println(count);
    } main {
        Scanner sc = new Scanner(System.in);
        int[] a = new int[]{sc.nextInt(), sc.nextInt(), sc.nextInt()};
        int count = 0;
        for (int i = a[0]; i <= a[1]; i++) {
            if (a[2] % i == 0) {
                count++;
            }
        }
        System.out.println(count);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int[] a = new int[]{sc.nextInt(), sc.nextInt(), sc.nextInt()}; a new int[]{sc.nextInt(), sc.nextInt(), sc.nextInt()} int count = 0; count 0 for (int i = a[0]; i <= a[1]; i++) {
            if (a[2] % i == 0) {
                count++;
            }
        } int i = a[0]; int i = a[0]; i a[0] a 0 i <= a[1] i a[1] a 1 i++ i++ i {
            if (a[2] % i == 0) {
                count++;
            }
        } {
            if (a[2] % i == 0) {
                count++;
            }
        } if (a[2] % i == 0) {
                count++;
            } a[2] % i == 0 a[2] % i a[2] a 2 i 0 {
                count++;
            } count++ count System.out.println(count) System.out.println System.out System System.out count String[] args args public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int[] a = new int[]{sc.nextInt(), sc.nextInt(), sc.nextInt()};
        int count = 0;
        for (int i = a[0]; i <= a[1]; i++) {
            if (a[2] % i == 0) {
                count++;
            }
        }
        System.out.println(count);
    }
} public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int[] a = new int[]{sc.nextInt(), sc.nextInt(), sc.nextInt()};
        int count = 0;
        for (int i = a[0]; i <= a[1]; i++) {
            if (a[2] % i == 0) {
                count++;
            }
        }
        System.out.println(count);
    }
} Main
import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int[] a = new int[]{sc.nextInt(), sc.nextInt(), sc.nextInt()};
        int count = 0;
        for (int i = a[0]; i <= a[1]; i++) {
            if (a[2] % i == 0) {
                count++;
            }
        }
        System.out.println(count);
    }
}