#include <bits/stdc++.h>
using namespace std;
double ai[5];
double bi[5];
bool used[5];
int n;
void init() {
  for (int i = 1; i <= n; i++) {
    scanf("%lf", &ai[i]);
  }
}
void play() {
  if (n == 0) {
    printf("YES\n1\n1\n3\n3\n");
  } else if (n == 1) {
    printf("YES\n%.0f\n%.0f\n%.0f\n", ai[1] * 3, ai[1] * 4 / 2, ai[1] * 4 / 2);
  } else if (n == 2) {
    sort(ai + 1, ai + 3);
    if (ai[1] * 4 - ai[2] > 0) {
      printf("YES\n%.0f\n%.0f\n", ai[1] * 3, ai[1] * 4 - ai[2]);
    } else if ((int)(ai[4]) % 3 == 0 && (int)(ai[4]) / 3 * 4 - ai[1] > 0) {
      printf("YES\n%,0f\n%,0f\n", ai[4] / 3, ai[4] / 3 * 3 - ai[1]);
    } else if ((int)(ai[1] + ai[2]) % 4 == 0 &&
               (ai[1] + ai[2]) / 4 * 3 > ai[2] && (ai[1] + ai[2]) / 4 < ai[1]) {
      printf("YES\n%.0f\n%.0f\n", (ai[1] + ai[2]) / 4 * 3, (ai[1] + ai[2]) / 4);
    } else {
      printf("NO\n");
    }
  } else if (n == 3) {
    for (int i = 1; i <= 1000000; i++) {
      for (int j = 1; j <= 3; j++) bi[j] = ai[j];
      bi[4] = i;
      sort(bi + 1, bi + 5);
      if ((bi[1] + bi[2] + bi[3] + bi[4]) / 4 == (bi[2] + bi[3]) / 2 &&
          (bi[2] + bi[3]) / 2 == (bi[4] - bi[1])) {
        printf("YES\n%.0f\n", (double)i);
        return;
      }
    }
    printf("NO\n");
  } else {
    sort(ai + 1, ai + 5);
    if ((ai[1] + ai[2] + ai[3] + ai[4]) / 4 == (ai[2] + ai[3]) / 2 &&
        (ai[2] + ai[3]) / 2 == (ai[4] - ai[1]))
      printf("YES\n");
    else
      printf("NO\n");
  }
}
int main() {
  while (scanf("%d", &n) != EOF) {
    init();
    play();
  }
  return 0;
}
