#include <bits/stdc++.h>
using namespace std;
const int maxN = 1505;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  int n;
  cin >> n;
  if (n == 0) {
    cout << "YES\n";
    cout << 1 << '\n' << 1 << '\n' << 3 << '\n' << 3;
    return 0;
  }
  int a[n];
  for (int i = 0; i < n; i++) {
    cin >> a[i];
  }
  if (n == 1) {
    cout << "YES\n";
    cout << a[0] << '\n' << 3 * a[0] << '\n' << 3 * a[0];
    return 0;
  }
  auto check = [](vector<int> &v) -> bool {
    sort(v.begin(), v.end());
    int sum = accumulate(v.begin(), v.end(), 0);
    if (sum % 4) return false;
    int mid = v[1] + v[2];
    if (mid & 1) return false;
    int range = v[3] - v[0];
    if (sum / 4 == mid / 2 && sum / 4 == range) return true;
    return false;
  };
  if (n == 2) {
    for (int i = 1; i < maxN; i++) {
      for (int j = 1; j < maxN; j++) {
        vector<int> v = {a[0], a[1], i, j};
        if (check(v)) {
          cout << "YES\n";
          cout << i << '\n' << j;
          return 0;
        }
      }
    }
    cout << "NO";
    return 0;
  }
  if (n == 3) {
    for (int i = 1; i < maxN; i++) {
      vector<int> v = {a[0], a[1], a[2], i};
      if (check(v)) {
        cout << "YES\n";
        cout << i << '\n';
        return 0;
      }
    }
    cout << "NO";
    return 0;
  }
  if (n == 4) {
    vector<int> v = {a[0], a[1], a[2], a[3]};
    if (check(v)) {
      cout << "YES";
      return 0;
    }
    cout << "NO";
    return 0;
  }
  assert(0);
}
