#include <stdio.h>

int main(){
	int a, b, c, x, count;
        count = 0

	scanf("%d %d %d", &a, &b, &c);

	for (x = a; x <= b; x++){
		if (c % x == 0) count = count++;
	}

	printf("%d\n", count);
return 0;
}