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