#include <iostream> #include <cmath> using namespace std; int main() { int A_B, B_C, AB, BC; cin >> A_B >> B_C >> AB >> BC; int A = (A_B + AB) / 2; int B = (B_C + BC) / 2; int C = (BC - B_C) / 2; if (A - B == A_B && B - C == B_C && A + B == AB && B + C == BC && A >= 0 && B >= 0 && C >= 0) { cout << A << " " << B << " " << C << endl; } else { cout << "No" << endl; } return 0; }