#include <bits/stdc++.h>
using namespace std;
const int maxn = 1e5 + 100;
long long a[maxn];
bool perfect(long long x) {
  long long y = sqrt(x);
  if (y * y == x) return 1;
  return 0;
}
int main() {
  ios_base::sync_with_stdio(false);
  long long n;
  cin >> n;
  for (int i = 2; i <= n; i += 2) cin >> a[i];
  long long N = 1000 * 1000;
  long long last = 0;
  for (int i = 1; i <= n; i += 2) {
    for (long long j = last + 1; j <= N; j++) {
      long long x = j * j - last * last;
      if (perfect(last * last + x + a[i + 1])) {
        a[i] = x;
        last = sqrt(last * last + x + a[i + 1]);
        break;
      }
    }
    if (a[i] == 0) return cout << "No" << endl, 0;
  }
  cout << "Yes" << endl;
  for (int i = 1; i <= n; i++) cout << a[i] << " ";
  cout << endl;
}
