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