use std::io::Read; use std::collections::BTreeSet; fn main() { let mut buf = String::new(); std::io::stdin().read_to_string(&mut buf).unwrap(); let mut iter = buf.split_whitespace(); let n: i32 = iter.next().unwrap().parse().unwrap(); let mut ans = BTreeSet::new(); for k in 1..(n+1){ ans.insert(n / k); } println!("{}", ans.len()); }