#include <bits/stdc++.h>
using namespace std;
const long long maxT = 1e13;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  long long n;
  cin >> n;
  long long curr = 0;
  vector<long long> ans;
  for (int i = 0; i < n / 2; ++i) {
    long long x;
    cin >> x;
    long long nauj = curr + 1;
    long long chang;
    bool good = 0;
    while ((chang = nauj * nauj - curr * curr) <= maxT) {
      if (sqrt(nauj * nauj + x) == (long long)sqrt(nauj * nauj + x)) {
        curr = sqrt(nauj * nauj + x);
        good = 1;
        ans.push_back(chang);
        break;
      }
      ++nauj;
    }
    if (!good) {
      cout << "No";
      return 0;
    }
    ans.push_back(x);
  }
  cout << "Yes\n";
  for (long long v : ans) cout << v << " ";
  return 0;
}
