#include<stdio.h>

int main()
{
	int a, b, c, s = 0;
	scanf_s("%d %d %d", &a, &b, &c);

	for (int i = 1; i < c; i++) {
		if (c%i == 0) {
			if (a <= i && i <= b) {
				s++;
			}
		}
	}

	printf("%d\n", s);
}