#include <bits/stdc++.h>
using namespace std;
int main() {
  int N;
  cin >> N;
  vector<long long int> V(N);
  int x2 = 0;
  int x4 = 0;
  for (int i = 0; i < N; i++) {
    cin >> V[i];
    if (V[i] % 2 == 0) x2++;
    if (V[i] % 4 == 0) x4++;
  }
  string ans = "";
  if (x2 >= N)
    ans = "Yes";
  else {
    if (N - (x2 - x4) % 2 == 0) {
      if (x4 >= 2 + (N - (x2 - x4) - 1) / 2) {
        ans = "Yes";
      } else {
        ans = "No";
      }
    } else {
      if (x4 >= 2 + (N - (x2 - x4) - 1) / 2) {
        ans = "Yes";
      } else {
        ans = "No";
      }
    }
  }
  cout << ans;
}
