#include <bits/stdc++.h>
using namespace std;
bool issqr(long long n) {
  long long r = round(sqrt((n)));
  return n == r * r;
}
int main() {
  long long k = 1;
  int n;
  cin >> n;
  long long a[100005];
  for (int i = 0; i < n / 2; i++) {
    cin >> a[i];
  }
  int ap = 0;
  long long ps = 0;
  long long o[100005];
  long long x = 0;
  while ((++x) * x - ps <= 10e13) {
    if (x * x <= ps) continue;
    if (issqr(x * x + a[ap])) {
      o[ap] = x * x - ps;
      ps += o[ap] + a[ap];
      ap++;
      if (ap == n / 2) break;
    }
    if (x * x - (x - 1) * (x - 1) > a[ap]) break;
  }
  if (ap != n / 2) {
    cout << "No" << endl;
    return 0;
  }
  cout << "Yes" << endl;
  for (int i = 0; i < n / 2; i++) {
    cout << o[i] << " " << a[i] << " ";
  }
  cout << endl;
  return 0;
}
