use std::io;
use std::cmp::Ordering;
use std::str::FromStr;

fn get_line() -> String {
    let mut line = String::new();
    io::stdin().read_line(&mut line).ok();
    line
}

fn get_vector() -> Vec<i32> {
    let line = get_line();
    let vec : Vec<i32> = line.split_whitespace().map(|x| i32::from_str(x).unwrap()).collect();
    return vec;
}

fn main() {
    let mut vec = get_vector();
    let (a, b, c) = (vec[0], vec[1], vec[2]);
    let mut ans = 0;
    for i in a..b {
        ans += if c % i == 0 { 1 } else { 0 };
    }
    println!("{}", ans)
}

