#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;
  for (int i = 0; i < N; i++) {
    cin >> a[i];
    if (a[i] % 4 == 0) {
      four++;
    } else if (a[i] == 2) {
      two++;
    }
  }
  string ans;
  int sum;
  if (two % 2 == 0) {
    sum = four * 4 + two * 2;
  } else {
    sum = four * 4 + (two - 1) * 2;
  }
  if ((N / 2) * 4 <= sum) {
    ans = "Yes";
  } else {
    ans = "No";
  }
  cout << ans << endl;
  return (0);
}
