#include <stdio.h>
        
int main(void){
        
    int a,b,c,i,n;
    n=0:
        scanf("%d %d %d",&a,&b,&c);


    for(i=a,i=b,i++){
        if(c%i=0)n=n+1;
    }
    printf("%d\n",n;
    return 0;
 
}