#include <bits/stdc++.h>
using namespace std;
template <class T>
inline bool chmax(T& a, T b) {
  if (a < b) {
    a = b;
    return 1;
  }
  return 0;
}
template <class T>
inline bool chmin(T& a, T b) {
  if (a > b) {
    a = b;
    return 1;
  }
  return 0;
}
const long long INF = 1LL << 60;
long long MOD = 1000000007;
long long gcd(long long a, long long b) {
  if (b == 0) return a;
  return gcd(b, a % b);
}
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  long long n, cnt4 = 0, cnt2 = 0, cnt = 0;
  cin >> n;
  vector<long long> a(n);
  for (long long i = 0; i < (n); ++i) cin >> a[i];
  for (long long i = 0; i < (n); ++i) {
    if (a[i] % 4 == 0)
      cnt4 += 1;
    else if (a[i] % 2 == 0)
      cnt2 += 1;
    else
      cnt++;
  }
  cout << (cnt4 >= (cnt2 % 2) + cnt ? "Yes" : "No") << endl;
}
