import java.util.Scanner; public class Main { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); int d = sc.nextInt(); sc.close(); long h = (long) (a - c) * (a - c) - 8 * (b - d); if (h == 0) { System.out.println("Yes"); } else if (h < 0) { System.out.println("No"); } else { System.out.println((a + c) / 2.0 + " " + (b + d) / 2.0); } } }