import java.util.Scanner;

// 注意类名必须为 Main, 不要有任何 package xxx 信息
public class Main {
    public static void main(String[] args) {
        //计算糖果A-B,B-C,A+B,B+C.
        // 这四个数值.每个字母代表每个人所拥有的糖果数.
        Scanner scanner = new Scanner(System.in);
        int a =0;
        int b = 0;
        int c = 0;
        int d = 0;
        
        while (scanner.hasNextInt()){
            a = scanner.nextInt();
            b = scanner.nextInt();
            c = scanner.nextInt();
            d = scanner.nextInt();
        }
        int A = (a+c)/2;
        int B =(c-a)/2;
        int C =(d-b)/2;
        if (B!=(b+d)/2){
            System.out.println("No");
        }else {
            System.out.println(A+" "+B+" "+C);
        }
        

    }
}