import std.stdio, std.array, std.conv, std.string;

void main() {
  string[] input = split(readln());
  int a = to!int(input[0]), b = to!int(input[1]), c = to!int(input[2]);

  int ans = 0;
  for (int i = a; i <= b; ++i) {
    if (c % i == 0) ans++;
  }

  writeln(ans);
}