use std::collections::HashSet; fn main() { let mut s = String::new(); std::io::stdin().read_line(&mut s).ok(); let n: u64 = s.trim().parse().unwrap(); let mut a = HashSet::new(); for i in 1..=n { if n % i == 0 { a.insert(format!("{}{}", i, n / i)); a.insert(format!("{}{}", n / i, i)); } if i > n / i { break; } } print!("{}", a.len()) }