#included<stdio.h>
int main(void){
	int a,b,c,i,count=0  ;
	scanf("%d %d %d",&a,&b,&c) ;
	if(a<=b&&1<=a&&a<=10000&&1<=b&&b<=10000&&1<=c&&c<=10000){
		for(i=a;i<=b;i++){
			if(c%i==0){
				conut++ ;
			}
		}
	}
	printf("%d\n",count) ;
	
	return 0;
}