#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  while (scanf("%d", &n) == 1) {
    vector<int> x(n);
    for (int i = 0; i < n; ++i) scanf("%d", &x[i]);
    if (n == 0) {
      puts("YES");
      puts("1");
      puts("1");
      puts("3");
      puts("3");
    } else if (n == 1) {
      puts("YES");
      printf("%d\n", x[0]);
      printf("%d\n", 3 * x[0]);
      printf("%d\n", 3 * x[0]);
    } else if (n == 2) {
      sort(x.begin(), x.end());
      int X = x[0], Y = x[1];
      if (X <= Y && (Y <= 4 * X - Y) && (4 * X - Y <= 3 * X)) {
        puts("YES");
        printf("%d\n", 4 * X - Y);
        printf("%d\n", 3 * X);
        continue;
      }
      if ((X <= 4 * X - Y) && (4 * X - Y <= Y) && (Y <= 3 * X)) {
        puts("YES");
        printf("%d\n", 4 * X - Y);
        printf("%d\n", 3 * X);
        continue;
      }
      if (Y == 3 * X) {
        puts("YES");
        printf("%d\n", X);
        printf("%d\n", Y);
        continue;
      }
      int u = (X + Y) / 4;
      if (u >= 1 && ((X + Y) % 4 == 0) && u <= X && X <= Y && Y <= 3 * u) {
        puts("YES");
        printf("%d\n", u);
        printf("%d\n", 3 * u);
        continue;
      }
      int y = Y / 3;
      if (y >= 1 && Y % 3 == 0 && y <= X && (X <= 4 * y - X) &&
          (4 * y - X <= Y)) {
        puts("YES");
        printf("%d\n", y);
        printf("%d\n", 4 * y - X);
        continue;
      }
      if (y >= 1 && Y % 3 == 0 && (y <= 4 * y - X) && (4 * y - X <= X) &&
          X <= Y) {
        puts("YES");
        printf("%d\n", y);
        printf("%d\n", 4 * y - X);
        continue;
      }
      puts("NO");
    } else if (n == 3) {
      vector<int> temp = x;
      bool solve = 0;
      int ans;
      for (int i = 1; i <= 1000000; ++i) {
        x = temp;
        x.push_back(i);
        sort(x.begin(), x.end());
        if (3 * x[0] == x[3] && x[1] + x[2] == 4 * x[0]) {
          solve = 1;
          ans = i;
          break;
        }
      }
      if (!solve)
        puts("NO");
      else {
        puts("YES");
        printf("%d\n", ans);
      }
    } else if (n == 4) {
      sort(x.begin(), x.end());
      if (3 * x[0] == x[3] && x[1] + x[2] == 4 * x[0])
        puts("YES");
      else
        puts("NO");
    }
  }
}
