#include <bits/stdc++.h>
using namespace std;
const int INF = 1e9;
const int MOD = 1e9 + 7;
const long long LINF = 1e18;
int main() {
  int n, c1 = 0, c2 = 0;
  cin >> n;
  bool flag = false;
  for (int i = 0; i < (n); ++i) {
    int a;
    cin >> a;
    if (a % 4 == 0)
      c1++;
    else if (a % 2 == 0)
      flag = true;
    else
      c2++;
  }
  if (flag) {
    if (c1 >= c2) cout << "Yes" << endl;
    return 0;
  } else {
    if (c1 >= c2 - 1) cout << "Yes" << endl;
    return 0;
  }
  cout << "No" << endl;
  return 0;
}
