#include <bits/stdc++.h>
using namespace std;
const long long mod = 1000000007;
const long long inf = mod * mod;
const int MAXS = 114514;
const double EPS = 1e-10;
const double INF = 1e+10;
const double PI = acos(-1.0);
signed main() {
  int n;
  cin >> n;
  int f = 0, t = 0, o = 0;
  for (int i = 0; i < n; i++) {
    int k;
    cin >> k;
    if (k % 4 == 0)
      f++;
    else if (k % 2 == 0)
      t++;
    else
      o++;
  }
  if (t == 0) {
    if (f > o)
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
  } else {
    if (f >= o)
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
  }
}
