#include <stdio.h>

int main(void) {

	int a;
	int b;
	int c;
	int i;
	int r;

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

	for (int x = a; x <= b; x++){

		if (c % x == 0){
			r++;
		}
	printf("%d\n",r);
	return 0;
}
