#include <bits/stdc++.h>
using namespace std;
int i, j, q, z;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  ;
  ifstream fin("Text.txt");
  long long n, m, k;
  long long x = 1, xp, prev = 0, check1, check2, sqrt1, sqrt2;
  long long ub = 3162277;
  cin >> n;
  vector<long long> vc(n);
  m = n >> 1;
  for (i = 0; i < m; i++) {
    cin >> k;
    vc[(i << 1) + 1] = k;
    check1 = x * x - prev;
    while (check1 < 1) {
      x++;
      if (x > ub) {
        cout << "No" << endl;
        return 0;
      }
      check1 = x * x - prev;
    }
    sqrt1 = sqrtl(check1 + prev);
    while (sqrt1 * sqrt1 != check1 + prev) {
      x++;
      if (x > ub) {
        cout << "No" << endl;
        return 0;
      }
      check1 = x * x - prev;
      sqrt1 = sqrtl(check1 + prev);
    }
    check2 = check1 + k + prev;
    sqrt2 = sqrtl(check2);
    while (sqrt2 * sqrt2 != check2) {
      x++;
      if (x > ub) {
        cout << "No" << endl;
        return 0;
      }
      check1 = x * x - prev;
      sqrt1 = sqrtl(check1 + prev);
      while (sqrt1 * sqrt1 != check1 + prev) {
        x++;
        if (x > ub) {
          cout << "No" << endl;
          return 0;
        }
        check1 = x * x - prev;
        sqrt1 = sqrtl(check1 + prev);
      }
      check2 = check1 + k + prev;
      sqrt2 = sqrtl(check2);
    }
    vc[(i << 1)] = check1;
    prev += check1 + k;
  }
  cout << "Yes" << endl;
  for (i = 0; i < n; i++) {
    cout << vc[i] << " ";
  }
  return 0;
}
