import java.util.Scanner;
public class Main {

    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int Ans = 0;
        String str[];
        str = new String[3];
        int num[];
        num = new int[3];
        for(int i=0; i<=2; i++)
            {
            str[i] = in.next();
            num[i] = Integer.parseInt(str[i]);
            }
        if (num[0]<=num[1])
            {
            for(int i=num[0]; i<=num[1];i++)
                {
                if(num[2]%i==0){Ans++;}    
                }
            }
        System.out.println(Ans);
    }
    
} import java.util.Scanner; Scanner java.util public class Main {

    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int Ans = 0;
        String str[];
        str = new String[3];
        int num[];
        num = new int[3];
        for(int i=0; i<=2; i++)
            {
            str[i] = in.next();
            num[i] = Integer.parseInt(str[i]);
            }
        if (num[0]<=num[1])
            {
            for(int i=num[0]; i<=num[1];i++)
                {
                if(num[2]%i==0){Ans++;}    
                }
            }
        System.out.println(Ans);
    }
    
} Main public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int Ans = 0;
        String str[];
        str = new String[3];
        int num[];
        num = new int[3];
        for(int i=0; i<=2; i++)
            {
            str[i] = in.next();
            num[i] = Integer.parseInt(str[i]);
            }
        if (num[0]<=num[1])
            {
            for(int i=num[0]; i<=num[1];i++)
                {
                if(num[2]%i==0){Ans++;}    
                }
            }
        System.out.println(Ans);
    } main {
        Scanner in = new Scanner(System.in);
        int Ans = 0;
        String str[];
        str = new String[3];
        int num[];
        num = new int[3];
        for(int i=0; i<=2; i++)
            {
            str[i] = in.next();
            num[i] = Integer.parseInt(str[i]);
            }
        if (num[0]<=num[1])
            {
            for(int i=num[0]; i<=num[1];i++)
                {
                if(num[2]%i==0){Ans++;}    
                }
            }
        System.out.println(Ans);
    } Scanner in = new Scanner(System.in); in new Scanner(System.in) int Ans = 0; Ans 0 String str[]; str str = new String[3] str new String[3] 3 int num[]; num num = new int[3] num new int[3] 3 for(int i=0; i<=2; i++)
            {
            str[i] = in.next();
            num[i] = Integer.parseInt(str[i]);
            } int i=0; int i=0; i 0 i<=2 i 2 i++ i++ i {
            str[i] = in.next();
            num[i] = Integer.parseInt(str[i]);
            } {
            str[i] = in.next();
            num[i] = Integer.parseInt(str[i]);
            } str[i] = in.next() str[i] str i in.next() in.next in num[i] = Integer.parseInt(str[i]) num[i] num i Integer.parseInt(str[i]) Integer.parseInt Integer str[i] str i if (num[0]<=num[1])
            {
            for(int i=num[0]; i<=num[1];i++)
                {
                if(num[2]%i==0){Ans++;}    
                }
            } num[0]<=num[1] num[0] num 0 num[1] num 1 {
            for(int i=num[0]; i<=num[1];i++)
                {
                if(num[2]%i==0){Ans++;}    
                }
            } for(int i=num[0]; i<=num[1];i++)
                {
                if(num[2]%i==0){Ans++;}    
                } int i=num[0]; int i=num[0]; i num[0] num 0 i<=num[1] i num[1] num 1 i++ i++ i {
                if(num[2]%i==0){Ans++;}    
                } {
                if(num[2]%i==0){Ans++;}    
                } if(num[2]%i==0){Ans++;} num[2]%i==0 num[2]%i num[2] num 2 i 0 {Ans++;} Ans++ Ans System.out.println(Ans) System.out.println System.out System System.out Ans String[] args args public class Main {

    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int Ans = 0;
        String str[];
        str = new String[3];
        int num[];
        num = new int[3];
        for(int i=0; i<=2; i++)
            {
            str[i] = in.next();
            num[i] = Integer.parseInt(str[i]);
            }
        if (num[0]<=num[1])
            {
            for(int i=num[0]; i<=num[1];i++)
                {
                if(num[2]%i==0){Ans++;}    
                }
            }
        System.out.println(Ans);
    }
    
} public class Main {

    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int Ans = 0;
        String str[];
        str = new String[3];
        int num[];
        num = new int[3];
        for(int i=0; i<=2; i++)
            {
            str[i] = in.next();
            num[i] = Integer.parseInt(str[i]);
            }
        if (num[0]<=num[1])
            {
            for(int i=num[0]; i<=num[1];i++)
                {
                if(num[2]%i==0){Ans++;}    
                }
            }
        System.out.println(Ans);
    }
    
} Main
import java.util.Scanner;
public class Main {

    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int Ans = 0;
        String str[];
        str = new String[3];
        int num[];
        num = new int[3];
        for(int i=0; i<=2; i++)
            {
            str[i] = in.next();
            num[i] = Integer.parseInt(str[i]);
            }
        if (num[0]<=num[1])
            {
            for(int i=num[0]; i<=num[1];i++)
                {
                if(num[2]%i==0){Ans++;}    
                }
            }
        System.out.println(Ans);
    }
    
}