#include <stdio.h>
int main(void){
  int a,b,c;
  int count;

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

  for(a ; a <= b ; a++){
    if(c%a == 0){
      count++
    }
  }

  printf("%d\n",count);
  return 0;
}

