#include <bits/stdc++.h>
int main(void) {
  int cnt, a, b, c, num;
  scanf("%d %d %d\n", &a, &b, &c);
  num = a;
  cnt = 0;
  while ((num <= b)) {
    if (c % num == 0) {
      cnt++;
    }
    num++;
  }
  return 0;
}
