use std::io;

fn main() {
    real_main();
}

fn real_main() -> i32 {
    let num = read::<i32>();

    if let(1...81, 1...81) = (num, num) {
            if num % i == 0{
                let mut num2 = num / i;
                for j in 1..i{
                    if num2 / j == 1{
                        println!("Yes");
                        return 0
                    }
                }
            }
        }
    }
    println!("No");
    return 0
}

fn read<T: std::str::FromStr>() -> T {
    let mut s = String::new();
    io::stdin().read_line(&mut s).ok();
    s.trim().parse().ok().unwrap()
}