#include <stdio.h>
#include <stdlib.h>

int main (void)
{
	int a,b,c;
        int x;
        int y;

	scan("%d %d %d",&a,&b,&c);
        x=0;

	for(x=a;x<=b;x++)
		{
		if (c % x == 0)y++;
		}	
	printf("%d\n",y);
	return 0;
}
