#include <bits/stdc++.h>
int main(void) {
      int i, n, number, cnt = 0;
  scanf("%d %d %d", &i, &n, &number);
  for (; i <= n; i++) {
    if (number % i == 0) {
      cnt++;
    }
  }
  printf("%d\n", cnt);
       
    return 0;
}
