includ<stdio.h>

int main()
{
  int a,b,c,x,amari,yakusuu;

  yakusuu = 0;

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

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

  printf("%d\n", yakusuu );

  return 0;
}

