fn main() { let mut s = String::new(); std::io::stdin().read_line(&mut s).ok(); let n: f64 = s.trim().parse().unwrap(); println!("{}", (n / 3.).sqrt().round()) }