#include <bits/stdc++.h>
using namespace std;
const int INF = 1000000000;
const long long LINF = 1000000000000000000;
const double EPS = 1e-10;
int main(void) {
  int N;
  cin >> N;
  vector<int> a(N);
  int four = 0;
  int two = 0;
  int other = 0;
  for (int i = 0; i < N; i++) {
    int num;
    cin >> num;
    if (num % 4 == 0) {
      four++;
    } else if (num == 2) {
      two++;
    } else {
      other++;
    }
  }
  string ans;
  if (two == 0) {
    if (other <= four + 1) {
      ans = "Yes";
    } else {
      ans = "No";
    }
  } else {
    if (other <= four) {
      ans = "Yes";
    } else {
      ans = "No";
    }
  }
  cout << ans << endl;
}
