#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);
  if (n == 0) {
    cout << "YES" << endl;
    printf("1\n1\n3\n3\n");
  }
  if (n == 1) {
    cout << "YES" << endl;
    cout << a[0] << endl << 3 * a[0] << endl << 3 * a[0] << endl;
  }
  if (n == 2) {
    if (3 * a[0] < a[1])
      cout << "NO" << endl;
    else if (3 * a[0] == a[1]) {
      cout << "YES" << endl;
      if (4 * a[0] % 2 == 0) {
        cout << 2 * a[0] << endl;
        cout << 2 * a[0] << endl;
      } else {
        cout << 2 * a[0] << endl;
        cout << 2 * a[0] + 1 << endl;
      }
    } else {
      cout << "YES" << endl;
      cout << 4 * a[0] - a[1] << endl;
      cout << 3 * a[0] << endl;
    }
  }
  if (n == 3) {
    if (a[2] % 3 == 0 && (a[0] + a[1]) % 4 == 0 &&
        a[2] / 3 == (a[0] + a[1]) / 4) {
      cout << "YES" << endl;
      cout << a[2] / 3 << endl;
    } else if (a[2] == a[0] * 3 && a[0] * 4 > a[1]) {
      cout << "YES" << endl;
      cout << a[0] * 4 - a[1] << endl;
    } else if ((a[1] + a[2]) % 4 == 0 && a[0] == (a[1] + a[2]) / 4) {
      cout << "YES" << endl;
      cout << a[0] * 3 << endl;
    } else
      cout << "NO" << endl;
  }
  if (n == 4) {
    if (a[3] == 3 * a[0] && a[3] + a[0] == a[1] + a[2])
      cout << "YES" << endl;
    else
      cout << "NO" << endl;
  }
  return 0;
}
