#![feature(inclusive_range_syntax)]

use std::io;

fn main() {
  let stdin = io::stdin();
  let mut buf = String::new();
  stdin.read_line(&mut buf).unwrap();

  let mut iter = buf.trim().split_whitespace()
    .map(|x| x.parse::<i32>().unwrap());
  let a = iter.next().unwrap();
  let b = iter.next().unwrap();
  let c = iter.next().unwrap();

  let cnt = (a..=b).filter(|x| c % x == 0).count();
  println!("{}", cnt);
}

