#include <bits/stdc++.h>
using namespace std;
const int N = 100100;
long long a[N], n;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  cin >> n;
  for (int i = 2; i <= n; i += 2) cin >> a[i];
  long long srt = 1;
  long long sum = 0;
  for (int i = 1; i <= n; i += 2) {
    while (1) {
      if (srt > a[i + 1]) return cout << "No", 0;
      if (srt * srt - sum < 0) {
        ++srt;
        continue;
      }
      long long aa = srt * srt - sum;
      long long srt2 = sqrtl(sum + aa + a[i + 1]);
      if (srt2 * srt2 == sum + aa + a[i + 1]) {
        a[i] = aa;
        sum += a[i];
        sum += a[i + 1];
        break;
      }
      ++srt;
    }
  }
  cout << "Yes\n";
  for (int i = 1; i <= n; i++) cout << a[i] << ' ';
}
