#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  int c4 = 0, c2 = 0, c = 0;
  cin >> n;
  for (int i = (0); i < (n); ++i) {
    int x;
    cin >> x;
    if (x % 4 == 0) {
      ++c4;
      continue;
    }
    if (x % 2 == 0) {
      ++c2;
      continue;
    }
    ++c;
  }
  int d = min(c4, c);
  c4 -= d;
  c -= d;
  if (c > 0) {
    cout << "No\n";
    return 0;
  }
  cout << "Yes\n";
}
