#include <bits/stdc++.h>
using namespace std;
const int INF = 0x3f3f3f3f;
const long long LINF = 0x3f3f3f3f3f3f3f3fLL;
const double EPS = 1e-8;
const int MOD = 1000000007;
const int dy[] = {1, 0, -1, 0}, dx[] = {0, -1, 0, 1};
struct IOSetup {
  IOSetup() {
    cin.tie(nullptr);
    ios_base::sync_with_stdio(false);
    cout << fixed << setprecision(20);
    cerr << fixed << setprecision(10);
  }
} iosetup;
int main() {
  int n;
  cin >> n;
  int two = 0, four = 0;
  for (int _ = (0); _ < (n); ++_) {
    int a;
    cin >> a;
    if (a % 4 == 0) {
      ++four;
    } else if (a % 2 == 0) {
      ++two;
    }
  }
  n -= four * 3;
  cout << (two >= n ? "Yes\n" : "No\n");
  return 0;
}
