int main(int argc, const char * argv[]) {
    int a,b,c,x,ans=0;
    scanf("%d %d %d",&a,&b,&c);
    for (x=a; x<=b; x++) {
        if (c%x==0){
            ans++;
        }
    }
    printf("%d",ans);
    return 0;
}