#include <bits/stdc++.h>
using namespace std;
unsigned int s_t = clock();
int show_time(unsigned int st, unsigned int et) { return et - st; }
bool isp(long long a) {
  for (long long i = 1 + 1; i * i <= a; i++) {
    if (a % i == 0) {
      return false;
    }
  }
  return true;
}
long long gcd(long long a, long long b) { return b ? gcd(b, a % b) : a; }
long long toi(char a) { return int(a) - 48; }
short int rast(short int x, short int y, short int x1, short int y1) {
  return abs(x - x1) + abs(y - y1);
}
long long sqr(long long a) { return a * a; }
long long okr(long long a, long long b) {
  return a % b == 0 ? a / b : a / b + 1;
}
bool ise(long long n) {
  while (n != 0) {
    if (n % 10 == 8 || n % 10 == -8) {
      return false;
    }
    n /= 10;
  }
  return true;
}
long long a[5], i, j, b, n, k, l;
int main() {
  cin >> n;
  for (i = 0; i < n; i++) {
    cin >> a[i];
  }
  sort(a, a + n);
  if (n == 0) {
    cout << "YES" << endl << 1 << endl << 1 << endl << 3 << endl << 3;
    return 0;
  }
  if (n == 1) {
    cout << "YES" << endl << a[0] << endl << a[0] * 3 << endl << a[0] * 3;
    return 0;
  }
  if (n == 2) {
    if (a[0] * 3 == a[1]) {
      cout << "YES" << endl << a[0] << endl << a[0] * 3;
      return 0;
    }
    if (a[0] == a[1]) {
      cout << "YES" << endl << a[0] * 3 << endl << a[0] * 3;
      return 0;
    }
    if (a[0] * 4 > a[1]) {
      cout << "YES" << endl << a[0] * 4 - a[1] << endl << a[0] * 3;
      return 0;
    }
    if (a[0] + a[0] == a[1] / 3 * 4 && a[1] % 3 == 0) {
      cout << "YES" << endl << a[1] / 3 << endl << a[0];
      return 0;
    }
  }
  if (n == 3) {
    if (a[0] * 3 == a[2]) {
      cout << "YES" << endl << a[0] * 4 - a[1];
      return 0;
    }
    if (a[0] * 4 == a[2] + a[1]) {
      cout << "YES" << endl << a[0] * 3;
      return 0;
    }
    if (a[2] % 3 == 0 && a[2] / 3 * 4 == a[0] + a[1]) {
      cout << "YES" << endl << a[2] / 3;
      return 0;
    }
  }
  if (n == 4) {
    if (a[0] * 3 == a[3] && a[1] + a[2] == a[0] + a[3]) {
      cout << "YES";
      return 0;
    }
  }
  cout << "NO";
}
