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(); if (a + c == 0) { if (b + d == 0) { System.out.println("Yes"); } else if (b < d) { System.out.println("0 " + (b + d) / 2.0); } else { System.out.println("No"); } } else { System.out.println((a + c) / 2.0 + " " + (b + d) / 2.0); } } }