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