#include <bits/stdc++.h>
using namespace std;
long long a[200005];
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  ;
  vector<long long> v;
  v.clear();
  v.push_back(0);
  long long n;
  cin >> n;
  long long i;
  a[0] = 0;
  for (i = 1; i <= n / 2; i++) cin >> a[i];
  long long j;
  for (i = 1; i <= n / 2; i++) {
    long long s = LLONG_MAX;
    long long s1;
    for (j = 1; j * j <= a[i]; j++) {
      if (a[i] % j == 0) {
        long long x = a[i] / j;
        long long y = j;
        if (x < y) swap(x, y);
        if (x % 2 == y % 2) {
          long long A = (x + y) / 2;
          long long B = (x - y) / 2;
          if (B > a[i - 1]) {
            if (A < s) s = A, s1 = B;
          }
        }
      }
    }
    if (s == LLONG_MAX) {
      cout << "No";
      return 0;
    }
    v.push_back(s1 * s1);
    v.push_back(s * s);
    a[i] = s;
  }
  cout << "Yes"
       << "\n";
  for (i = 1; i < v.size(); i++) cout << v[i] - v[i - 1] << " ";
  return 0;
}
