import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner scn = new Scanner(System.in);
        int s = 0;
        int a = scn.nextInt();
        int b = scn.nextInt();
        int c = scn.nextInt();
        while(a <= b) {
            if(c % a++ == 0) {
                s++;
            }
        }
        System.out.println(s);
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) {
        Scanner scn = new Scanner(System.in);
        int s = 0;
        int a = scn.nextInt();
        int b = scn.nextInt();
        int c = scn.nextInt();
        while(a <= b) {
            if(c % a++ == 0) {
                s++;
            }
        }
        System.out.println(s);
    }
} Main public static void main(String[] args) {
        Scanner scn = new Scanner(System.in);
        int s = 0;
        int a = scn.nextInt();
        int b = scn.nextInt();
        int c = scn.nextInt();
        while(a <= b) {
            if(c % a++ == 0) {
                s++;
            }
        }
        System.out.println(s);
    } main {
        Scanner scn = new Scanner(System.in);
        int s = 0;
        int a = scn.nextInt();
        int b = scn.nextInt();
        int c = scn.nextInt();
        while(a <= b) {
            if(c % a++ == 0) {
                s++;
            }
        }
        System.out.println(s);
    } Scanner scn = new Scanner(System.in); scn new Scanner(System.in) int s = 0; s 0 int a = scn.nextInt(); a scn.nextInt() scn.nextInt scn int b = scn.nextInt(); b scn.nextInt() scn.nextInt scn int c = scn.nextInt(); c scn.nextInt() scn.nextInt scn while(a <= b) {
            if(c % a++ == 0) {
                s++;
            }
        } a <= b a b {
            if(c % a++ == 0) {
                s++;
            }
        } if(c % a++ == 0) {
                s++;
            } c % a++ == 0 c % a++ c a++ a 0 {
                s++;
            } s++ s System.out.println(s) System.out.println System.out System System.out s String[] args args public class Main {
    public static void main(String[] args) {
        Scanner scn = new Scanner(System.in);
        int s = 0;
        int a = scn.nextInt();
        int b = scn.nextInt();
        int c = scn.nextInt();
        while(a <= b) {
            if(c % a++ == 0) {
                s++;
            }
        }
        System.out.println(s);
    }
} public class Main {
    public static void main(String[] args) {
        Scanner scn = new Scanner(System.in);
        int s = 0;
        int a = scn.nextInt();
        int b = scn.nextInt();
        int c = scn.nextInt();
        while(a <= b) {
            if(c % a++ == 0) {
                s++;
            }
        }
        System.out.println(s);
    }
} Main
import java.util.*;

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