#include <bits/stdc++.h>
using namespace std;
bool ok(const vector<int> &a) {
  int odd = 0;
  int mul4 = 0;
  for (auto x : a) {
    if (x % 2 != 0) {
      ++odd;
    }
    if (x % 4 == 0) {
      ++mul4;
    }
  }
  return mul4 + 1 >= odd;
}
int main() {
  int N;
  cin >> N;
  vector<int> a(N);
  for (auto &x : a) {
    cin >> x;
  }
  if (ok(a)) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
}
