#include <bits/stdc++.h>
using namespace std;
template <typename Val, typename Number>
Val gcd(Val a, Val b) {
  if (b == 0)
    return a;
  else
    return gcd(b, a % b);
}
template <typename Val, typename Number>
void count_vector(vector<Val>* A, vector<pair<Number, Val>>* R) {
  sort(A->begin(), A->end());
  int count = 1;
  for (int i = (int)0; i < (int)A->size(); i++) {
    if (i < A->size() - 1) {
      if (A->at(i) == A->at(i + 1))
        count++;
      else {
        R->push_back(make_pair(count, A->at(i)));
        count = 1;
      }
    } else {
      R->push_back(make_pair(count, A->at(i)));
      count = 1;
    }
  }
}
int main() {
  int N, K;
  string ans = "No";
  cin >> N;
  int e2, e4, odd;
  e2 = e4 = odd = 0;
  for (int i = (int)0; i < (int)N; i++) {
    long long A;
    cin >> A;
    if (A % 4 == 0)
      e4++;
    else if (A % 2 == 0)
      e2++;
    else
      odd++;
  }
  if (odd < e4 + 1) {
    ans = "Yes";
  }
  cout << ans << endl;
}
