#include <bits/stdc++.h>
using namespace std;
int n;
int a[4];
int check(int a, int b, int c, int d) {
  int avg = a + b + c + d;
  int med = b + c;
  if (avg % 4 != 0 || med % 2 != 0) return 0;
  if (avg / 4 == d - a && med / 2 == d - a) return 1;
  return 0;
}
int main() {
  ios_base::sync_with_stdio(false);
  cin >> n;
  for (int i = 0; i <= n - 1; i++) cin >> a[i];
  sort(a, a + n);
  if (n == 0) {
    cout << "YES" << endl;
    cout << 1 << endl << 1 << endl << 3 << endl << 3;
    return 0;
  }
  if (n == 1) {
    cout << "YES" << endl;
    cout << 3 * a[0] << endl;
    cout << 2 * a[0] << endl;
    cout << 2 * a[0];
    return 0;
  }
  if (n <= 2) {
    if (a[1] <= 3 * a[0]) {
      cout << "YES" << endl;
      cout << 4 * a[0] - a[1] << endl;
      cout << 3 * a[0];
      return 0;
    }
    cout << "NO";
    return 0;
  }
  if (n == 3) {
    for (int i = 1; i <= 1000000; i++) {
      int b[4] = {a[0], a[1], a[2], i};
      sort(b, b + 4);
      if (check(b[0], b[1], b[2], b[3]) == 1) {
        cout << "YES" << endl;
        cout << i;
        return 0;
      }
    }
    cout << "NO";
    return 0;
  }
  if (check(a[0], a[1], a[2], a[3]) == 0)
    cout << "NO";
  else
    cout << "YES";
  return 0;
}
