#include <bits/stdc++.h>
using namespace std;
template <class L, class R>
ostream &operator<<(ostream &os, pair<L, R> P) {
  return os << "(" << P.first << "," << P.second << ")";
}
template <class T>
ostream &operator<<(ostream &os, set<T> V) {
  os << "[";
  for (auto vv : V) os << vv << ",";
  return os << "]";
}
template <class T>
ostream &operator<<(ostream &os, vector<T> V) {
  os << "[";
  for (auto vv : V) os << vv << ",";
  return os << "]";
}
template <class K, class X>
ostream &operator<<(ostream &os, map<K, X> V) {
  os << "[";
  for (auto vv : V) os << vv << ",";
  return os << "]";
}
void debug_out() { cerr << '\n'; }
template <typename Head, typename... Tail>
void debug_out(Head H, Tail... T) {
  cerr << " " << H;
  debug_out(T...);
}
using ii = pair<long long, long long>;
using vb = vector<bool>;
using vi = vector<long long>;
using vii = vector<ii>;
using vvi = vector<vi>;
using vvii = vector<vii>;
long long pow(long long a, long long n, long long mod) {
  long long res = 1;
  while (n > 0) {
    if (n & 1) {
      res = (res * a) % mod;
    }
    a = (a * a) % mod;
    n >>= 1;
  }
  return res;
}
bool is_square(long long x) {
  long double tmp = sqrtl(x);
  return (x == tmp * tmp);
}
int32_t main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  long long n;
  cin >> n;
  vi b(n / 2);
  for (long long i = 0; i < n / 2; ++i) {
    cin >> b[i];
  }
  long long cur = 0;
  long long req = 0;
  const long long nn = 1e6;
  set<long long> sq;
  for (long long i = 0; i <= nn; ++i) {
    sq.insert(i * i);
  }
  vi ans;
  for (long long i = 0; i < n / 2; ++i) {
    long long at = b[i];
    for (; cur < nn; ++cur) {
      if (at < (cur * cur) - (cur - 1) * (cur - 1)) {
        cout << "No\n";
        return 0;
      }
      if (cur * cur - at > req and sq.count(cur * cur - at)) {
        ans.push_back(cur * cur - at - req);
        ans.push_back(at);
        req = cur * cur;
        break;
      }
    }
  }
  if ((long long)ans.size() == n) {
    cout << "Yes\n";
    for (long long x : ans) {
      cout << x << " ";
    }
    return 0;
  }
  cout << "No\n";
}
