import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int x = sc.nextInt(), y = sc.nextInt(), n = sc.nextInt();
        int count = 0;
        for(int i=x; i<=y; i++) {
            if(n%i==0){
                count++;
            }
        }
        System.out.printf("%d\n", count);
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int x = sc.nextInt(), y = sc.nextInt(), n = sc.nextInt();
        int count = 0;
        for(int i=x; i<=y; i++) {
            if(n%i==0){
                count++;
            }
        }
        System.out.printf("%d\n", count);
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int x = sc.nextInt(), y = sc.nextInt(), n = sc.nextInt();
        int count = 0;
        for(int i=x; i<=y; i++) {
            if(n%i==0){
                count++;
            }
        }
        System.out.printf("%d\n", count);
    } main {
        Scanner sc = new Scanner(System.in);
        int x = sc.nextInt(), y = sc.nextInt(), n = sc.nextInt();
        int count = 0;
        for(int i=x; i<=y; i++) {
            if(n%i==0){
                count++;
            }
        }
        System.out.printf("%d\n", count);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int x = sc.nextInt() x sc.nextInt() sc.nextInt sc y = sc.nextInt() y sc.nextInt() sc.nextInt sc n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int count = 0; count 0 for(int i=x; i<=y; i++) {
            if(n%i==0){
                count++;
            }
        } int i=x; int i=x; i x i<=y i y i++ i++ i {
            if(n%i==0){
                count++;
            }
        } {
            if(n%i==0){
                count++;
            }
        } if(n%i==0){
                count++;
            } n%i==0 n%i n i 0 {
                count++;
            } count++ count System.out.printf("%d\n", count) System.out.printf System.out System System.out "%d\n" count String[] args args public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int x = sc.nextInt(), y = sc.nextInt(), n = sc.nextInt();
        int count = 0;
        for(int i=x; i<=y; i++) {
            if(n%i==0){
                count++;
            }
        }
        System.out.printf("%d\n", count);
    }
} public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int x = sc.nextInt(), y = sc.nextInt(), n = sc.nextInt();
        int count = 0;
        for(int i=x; i<=y; i++) {
            if(n%i==0){
                count++;
            }
        }
        System.out.printf("%d\n", count);
    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int x = sc.nextInt(), y = sc.nextInt(), n = sc.nextInt();
        int count = 0;
        for(int i=x; i<=y; i++) {
            if(n%i==0){
                count++;
            }
        }
        System.out.printf("%d\n", count);
    }
}
