include <stdio.h>

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