import std.algorithm, std.array, std.container, std.range, std.bitmanip;
import std.numeric, std.math, std.bigint, std.random, core.bitop;
import std.string, std.conv, std.stdio, std.typecons;

void main()
{
  auto rd = readln.split.map!(to!int);
  auto a = rd[0], b = rd[1], c = rd[2];

  auto d = 0;
  foreach (i; a..b + 1)
    if (c % i == 0) ++d;

  writeln(d);
}