#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  long long a[n + 3], cnt = 0, cnt1 = 0, cnt2 = 0;
  for (int i = 0; i < n; i++) {
    scanf("%lld", &a[i]);
    if (a[i] % 4 == 0)
      cnt++;
    else if (a[i] % 2 == 0) {
      cnt2++;
    }
    if (a[i] % 2 == 1) cnt1++;
  }
  if (cnt2 == 1) {
    cnt1++;
  }
  if (cnt1 == 0) {
    cout << "Yes\n";
    return 0;
  }
  if (cnt < (cnt1 + 1) / 2) {
    cout << "No\n";
  } else {
    cout << "Yes\n";
  }
}
