#include <bits/stdc++.h>
using namespace std;
long long ht = 1;
long long pre = 0;
long long n;
int a[222222];
bool check(long long n) {
  long long l = 1, r = 1e9;
  while (l < r) {
    long long mid = (l + r + 1) / 2;
    if (1LL * mid * mid <= n)
      l = mid;
    else
      r = mid - 1;
  }
  return l * l == n;
}
long long res[2222222];
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cin >> n;
  for (long long i = 1; i <= n; i++) {
    cin >> a[i];
  }
  for (long long i = 1; i <= n / 2; i++) {
    pre += a[i];
    while (ht * ht <= pre || !check(ht * ht - a[i])) {
      ht++;
      if (ht * ht > 1e13) {
        cout << "No";
        return 0;
      }
    }
    res[i] = ht * ht - pre;
    pre += ht * ht - pre;
  }
  cout << "Yes\n";
  for (long long i = 1; i <= n / 2; i++) {
    cout << res[i] << " " << a[i] << " ";
  }
}
