#include <bits/stdc++.h>
using namespace std;
const int INF = 1e9;
int main() {
  int n, a;
  unordered_map<string, int> mp;
  cin >> n;
  for (int i = 0; i < (n); i++) {
    cin >> a;
    if (a % 4 == 0)
      mp["four"]++;
    else if (a % 2 == 0)
      mp["two"]++;
    else
      mp["other"]++;
  }
  if (mp["other"] == 0) {
    cout << "Yes" << endl;
    return 0;
  }
  if (mp["two"] % 2 == 1) mp["other"]++;
  cout << ((mp["four"] * 2 >= mp["other"]) ? "Yes" : "No") << endl;
  return 0;
}
