#include <bits/stdc++.h>
using namespace std;
static const int MOD = 1000000007;
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  int N;
  cin >> N;
  int a, four, two, other;
  four = two = other = 0;
  for (int i = (int)0; i < (int)N; ++i) {
    cin >> a;
    if (a % 4 == 0)
      four++;
    else if (a % 2 == 0)
      two++;
    else
      other++;
  }
  bool ok = true;
  if (two > 0) {
    if (other > four) ok = false;
  } else {
    if (other - 1 > four) ok = false;
  }
  cout << (ok ? "Yes" : "No") << endl;
  return 0;
}
