#include <bits/stdc++.h>
using namespace std;
signed main() {
  long long n;
  cin >> n;
  vector<long long> a(n / 2);
  for (long long& x : a) cin >> x;
  vector<long long> ans(n);
  long long p = 0;
  for (long long i = 0; i < n / 2; i++) {
    long long mn = LLONG_MAX;
    for (long long j = 1; j * j <= a[i]; j++) {
      if (a[i] % j) continue;
      if (j == a[i] / j) continue;
      if (j % 2 != (a[i] / j) % 2) continue;
      long long ta = a[i] / j;
      ta -= j;
      ta /= 2;
      if (ta <= 0) continue;
      if (ta * ta > p) {
        mn = min(ta, mn);
      }
    }
    if (mn == LLONG_MAX) {
      cout << "No";
      return 0;
    }
    ans[i * 2] = mn * mn;
    ans[i * 2 + 1] = ans[i * 2] + a[i];
    p = ans[i * 2 + 1];
  }
  for (long long i = n - 2; i > -1; i--) ans[i + 1] -= ans[i];
  cout << "Yes" << endl;
  for (long long& x : ans) cout << x << " ";
}
