#include <stdio.h>

int main( void )
{
	int a, b, c;
	int cou, NumCou;
	
	scanf( "%d %d %d". &a, &b, &c );
	
	cou = 0;

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