#include <bits/stdc++.h>
using namespace std;
const long long INF = 1LL << 60;
long long GCD(long long x, long long y) {
  if (y == 0)
    return x;
  else
    return GCD(y, x % y);
}
long long LCM(long long a, long long b) { return a / GCD(a, b) * b; }
const int MOD = 1000000007;
int main() {
  int n;
  cin >> n;
  int zero = 0, one = 0, two = 0;
  for (int i = 0; i < n; i++) {
    int x;
    cin >> x;
    if (x % 2 == 0) {
      x /= 2;
      if (x % 2 == 0) {
        two++;
      } else {
        one++;
      }
    } else {
      zero++;
    }
  }
  if (zero + one % 2 <= two) {
    cout << "Yes";
  } else {
    cout << "No";
  }
}
