use std::io::Read; fn main() { let mut buf = String::new(); std::io::stdin().read_to_string(&mut buf).unwrap(); let mut iter = buf.split_whitespace(); let a: i64 = iter.next().unwrap().parse().unwrap(); let b: i64 = iter.next().unwrap().parse().unwrap(); let c: i64 = iter.next().unwrap().parse().unwrap(); let d: i64 = iter.next().unwrap().parse().unwrap(); let disc: i64 = (a - c) * (a - c) - 8 * (b - d); if disc < 0 { println!("No"); } else if disc == 0 { println!("Yes"); } else { let p: f64 = (a + c) as f64 / 2.0; let q: f64 = (b + d) as f64 / 2.0; println!("{:.10} {:.10}", p, q); } }