#include <bits/stdc++.h>
using namespace std;
int a[10];
double EPS = 1e-9;
int main() {
  int n;
  scanf("%d", &n);
  for (int i = 1; i <= n; i++) {
    scanf("%d", &a[i]);
  }
  vector<int> ans;
  sort(a + 1, a + n + 1);
  bool benar;
  if (n == 4) {
    if (a[4] == 3 * a[1] && a[2] + a[3] == 4 * a[1])
      printf("YES\n");
    else
      printf("NO\n");
  } else if (n == 3) {
    if (3 * a[1] >= a[3]) {
      int t1, t2, t3;
      t1 = 3 * a[1];
      t2 = a[3] / 3;
      t3 = a[1] + a[3] - a[2];
      if (t1 == 3 * a[1] && a[2] + a[3] == 4 * a[1])
        printf("YES\n"), ans.push_back(t1);
      else if (a[3] == 3 * t2 && a[1] + a[2] == 4 * t2)
        printf("YES\n"), ans.push_back(t2);
      else if (a[3] == 3 * a[1] && a[2] + t3 == 4 * a[1])
        printf("YES\n"), ans.push_back(t3);
      else
        printf("NO\n");
    } else
      printf("NO\n");
  } else if (n == 2) {
    if (3 * a[1] >= a[2]) {
      printf("YES\n");
      ans.push_back(3 * a[1]);
      ans.push_back(4 * a[1] - a[2]);
    } else
      printf("NO\n");
  } else if (n == 1) {
    printf("YES\n");
    ans.push_back(3 * a[1]);
    ans.push_back(a[1]);
    ans.push_back(3 * a[1]);
  } else if (n == 0) {
    printf("YES\n1\n2\n2\n3\n");
  }
  for (int i = 0; i < ans.size(); i++) printf("%d\n", ans[i]);
}
