#include<stdio.h>

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