#include <bits/stdc++.h>
using namespace std;
const long long int N = 2e5;
vector<pair<long long int, long long int>> vec[N + 50];
long long int arr[100010];
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  for (int i = 1; i <= N; i++) {
    if (i * 2 + 1 > N) break;
    for (int j = i + 1; j * (long long int)j - i * (long long int)i <= N; j++)
      vec[j * (long long int)j - i * (long long int)i].push_back({i, j});
  }
  int n;
  cin >> n;
  for (int i = 2; i <= n; i += 2) {
    long long int x;
    cin >> x;
    for (auto t : vec[x]) {
      if (arr[i - 2] < t.first) {
        arr[i - 1] = t.first;
        arr[i] = t.second;
        break;
      }
    }
    if (!arr[i - 1]) {
      cout << "No";
      return 0;
    }
  }
  cout << "Yes" << endl;
  for (int i = 1; i <= n; i++) {
    cout << arr[i] * (long long int)arr[i] -
                arr[i - 1] * (long long int)arr[i - 1]
         << " ";
  }
  return 0;
}
