import java.util.*;
public class Main{
    public static void main(String[] args){
        Scanner InData = new Scanner(System.in);
        int a = InData.nextInt();
        int b = InData.nextInt();
        int c = InData.nextInt();
        int Shang;
        int Yu;
        int Acc = 0;
        for(int n = a; n<=b; n++){
            Shang = c/n;
            Yu = c%n;
            if(Shang != 0 && Yu == 0){
                Acc++;

            }

        }
        System.out.println(Acc);
    }
} import java.util.*; util.* java public class Main{
    public static void main(String[] args){
        Scanner InData = new Scanner(System.in);
        int a = InData.nextInt();
        int b = InData.nextInt();
        int c = InData.nextInt();
        int Shang;
        int Yu;
        int Acc = 0;
        for(int n = a; n<=b; n++){
            Shang = c/n;
            Yu = c%n;
            if(Shang != 0 && Yu == 0){
                Acc++;

            }

        }
        System.out.println(Acc);
    }
} Main public static void main(String[] args){
        Scanner InData = new Scanner(System.in);
        int a = InData.nextInt();
        int b = InData.nextInt();
        int c = InData.nextInt();
        int Shang;
        int Yu;
        int Acc = 0;
        for(int n = a; n<=b; n++){
            Shang = c/n;
            Yu = c%n;
            if(Shang != 0 && Yu == 0){
                Acc++;

            }

        }
        System.out.println(Acc);
    } main {
        Scanner InData = new Scanner(System.in);
        int a = InData.nextInt();
        int b = InData.nextInt();
        int c = InData.nextInt();
        int Shang;
        int Yu;
        int Acc = 0;
        for(int n = a; n<=b; n++){
            Shang = c/n;
            Yu = c%n;
            if(Shang != 0 && Yu == 0){
                Acc++;

            }

        }
        System.out.println(Acc);
    } Scanner InData = new Scanner(System.in); InData new Scanner(System.in) int a = InData.nextInt(); a InData.nextInt() InData.nextInt InData int b = InData.nextInt(); b InData.nextInt() InData.nextInt InData int c = InData.nextInt(); c InData.nextInt() InData.nextInt InData int Shang; Shang int Yu; Yu int Acc = 0; Acc 0 for(int n = a; n<=b; n++){
            Shang = c/n;
            Yu = c%n;
            if(Shang != 0 && Yu == 0){
                Acc++;

            }

        } int n = a; int n = a; n a n<=b n b n++ n++ n {
            Shang = c/n;
            Yu = c%n;
            if(Shang != 0 && Yu == 0){
                Acc++;

            }

        } {
            Shang = c/n;
            Yu = c%n;
            if(Shang != 0 && Yu == 0){
                Acc++;

            }

        } Shang = c/n Shang c/n c n Yu = c%n Yu c%n c n if(Shang != 0 && Yu == 0){
                Acc++;

            } Shang != 0 && Yu == 0 Shang != 0 Shang 0 Yu == 0 Yu 0 {
                Acc++;

            } Acc++ Acc System.out.println(Acc) System.out.println System.out System System.out Acc String[] args args public class Main{
    public static void main(String[] args){
        Scanner InData = new Scanner(System.in);
        int a = InData.nextInt();
        int b = InData.nextInt();
        int c = InData.nextInt();
        int Shang;
        int Yu;
        int Acc = 0;
        for(int n = a; n<=b; n++){
            Shang = c/n;
            Yu = c%n;
            if(Shang != 0 && Yu == 0){
                Acc++;

            }

        }
        System.out.println(Acc);
    }
} public class Main{
    public static void main(String[] args){
        Scanner InData = new Scanner(System.in);
        int a = InData.nextInt();
        int b = InData.nextInt();
        int c = InData.nextInt();
        int Shang;
        int Yu;
        int Acc = 0;
        for(int n = a; n<=b; n++){
            Shang = c/n;
            Yu = c%n;
            if(Shang != 0 && Yu == 0){
                Acc++;

            }

        }
        System.out.println(Acc);
    }
} Main
import java.util.*;
public class Main{
    public static void main(String[] args){
        Scanner InData = new Scanner(System.in);
        int a = InData.nextInt();
        int b = InData.nextInt();
        int c = InData.nextInt();
        int Shang;
        int Yu;
        int Acc = 0;
        for(int n = a; n<=b; n++){
            Shang = c/n;
            Yu = c%n;
            if(Shang != 0 && Yu == 0){
                Acc++;

            }

        }
        System.out.println(Acc);
    }
}