#include <stdio.h>

int zyouyo(int a);

int main(void){
  int a,b,c,d=0,kotae;
  scanf("%d %d %d",&a,&b,&c);
  for(1;a<=b;a++){
  kotae = zyouyo(a);
  if(kotae = 0){
    d=d+1;
  } 
}
  printf("%d\n",d);
  return 0;
}

int zyouyo(int a){
  int a,c,kotae;
  kotae = c % a;
  return kotae;
}