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