#include <bits/stdc++.h>
using namespace std;
const int inf = 1e9 + 7;
const long long longinf = 1LL << 60;
const int mx = 200010;
const long long mod = 1e9 + 7;
int main() {
  int n;
  cin >> n;
  int a = 0, b = 0, c = 0;
  for (int i = (int)(0); i < (int)(n); ++i) {
    int x;
    cin >> x;
    if (x % 4 == 0) {
      a++;
      continue;
    }
    if (x % 2 == 0) {
      b++;
      continue;
    }
    c++;
  }
  if (a >= c) {
    cout << "Yes" << endl;
    return 0;
  }
  if (a - 1 >= c && b == 0) {
    cout << "Yes" << endl;
    return 0;
  }
  cout << "No" << endl;
  return 0;
}
