int main(int argc, const char * argv[]) {
    int a,b,c,count;
    int i=1;
    scanf("%d %d %d",&a,&b,&c);
    if(1<=a&&a<=1000&&1<=b&&b<=1000&&1<=c&&c<=1000){
        if(a<=b){
            for(i=a;i<=b;i++){
                if(c%i==0){
                    count++;
                }
            }
        }
    }printf("%d\n",count);
        return 0;
}