#include <bits/stdc++.h>
using namespace std;
int a[1000001];
int main() {
  ios_base::sync_with_stdio(false);
  int n;
  cin >> n;
  int cnt0 = 0, cnt1 = 0, cnt2 = 0;
  for (int i = 0; i < n; ++i) {
    cin >> a[i];
    if (a[i] == 2 || a[i] * 2 % 4 == 0) {
      cnt2++;
    } else {
      if (a[i] % 4 == 0) {
        cnt0++;
      } else {
        cnt1++;
      }
    }
  }
  if (cnt2 % 2 != 0) {
    cnt1++;
  }
  if (cnt0 >= cnt1 - 1) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
  return 0;
}
