#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int a[4];
  for (int i = 0; i < n; i++) cin >> a[i];
  sort(a, a + n);
  switch (n) {
    case 0:
      cout << "YES" << endl;
      cout << "1\n1\n3\n3" << endl;
      break;
    case 1:
      cout << "YES" << endl;
      cout << '\n' << a[0] << '\n' << 3 * a[0] << '\n' << 3 * a[0] << endl;
      break;
    case 2:
      if (3 * a[0] == a[1]) {
        cout << "YES" << endl;
        cout << a[0] << '\n' << a[1] << endl;
      } else {
        if (4 * a[0] - a[1] >= a[0]) {
          cout << "YES" << endl;
          cout << 3 * a[0] << '\n' << 4 * a[0] - a[1] << endl;
        } else {
          if (a[1] % 3 == 0 && a[1] / 3 <= a[0]) {
            cout << "YES" << endl;
            cout << a[1] / 3 << '\n' << 4 * a[1] / 3 - a[0] << endl;
          } else if ((a[0] + a[1]) % 4 == 0) {
            if ((a[0] + a[1]) / 4 <= a[0] && 3 * (a[0] + a[1]) / 4 >= a[1]) {
              cout << "YES" << endl;
              cout << (a[0] + a[1]) / 4 << '\n'
                   << 3 * (a[0] + a[1]) / 4 << endl;
            } else
              cout << "NO" << endl;
          } else
            cout << "NO" << endl;
        }
      }
      break;
    case 3:
      if (3 * a[0] == a[2]) {
        a[4] = 4 * a[0] - a[1];
        cout << "YES" << endl;
        cout << a[4] << endl;
      } else {
        if (4 * a[0] == a[1] + a[2]) {
          cout << "YES" << endl;
          cout << 3 * a[0] << endl;
        } else if (a[2] % 3 == 0) {
          if (4 * a[2] / 3 == a[0] + a[1]) {
            cout << "YES" << endl;
            cout << a[2] / 3 << endl;
          } else
            cout << "NO" << endl;
        } else
          cout << "NO" << endl;
      }
      break;
    case 4:
      if (a[0] * 4 == (a[1] + a[2]) && a[3] == 3 * a[0])
        cout << "YES" << endl;
      else
        cout << "NO" << endl;
  }
  return 0;
}
