#include <bits/stdc++.h>
int main() {
  int a, b, c, count;
  count = 0;
  scanf("%d", &a);
  scanf("%d", &b);
  scanf("%d", &c);
  for (int i = a; i <= b; i++) {
    if (c % i == 0) count++;
  }
  return 0;
}
