#include<studio.>

int main(void){
    int a,b,c,x,cnt=0;
    
    scanf("%d %d %d",&a,&b,&c);
    for(x=a;x<=b;x++){
        if(c%x==0)
            cnt++;
    }
    printf("%d\n",cnt);
    return 0;
}
    