use proconio::input; fn main() { input! { n: usize, } println!("{}", (1..).position(|x| x * x >= n).unwrap()); }