fn run() { let mut s = String::new(); std::io::stdin().read_line(&mut s).unwrap(); let mut it = s.trim().split_whitespace(); let a: i64 = it.next().unwrap().parse().unwrap(); let b: i64 = it.next().unwrap().parse().unwrap(); let c: i64 = it.next().unwrap().parse().unwrap(); let d: i64 = it.next().unwrap().parse().unwrap(); let det = (a - c).pow(2) - 4 * 2 * (b - d); if det < 0 { println!("No"); } else if det == 0 { println!("Yes"); } else { println!("{} {}", (a + c) as f64 * 0.5, (b + d) as f64 * 0.5); } } fn main() { run(); }