#include <bits/stdc++.h>
using namespace std;
int main(int arc, char **argv) {
  unsigned int N;
  vector<unsigned char> nmbrs;
  for (cin >> N; N > 0; --N) {
    int a;
    cin >> a;
    nmbrs.push_back(a % 4);
  }
  unsigned int nuller = count(nmbrs.begin(), nmbrs.end(), 0);
  unsigned int einser = count(nmbrs.begin(), nmbrs.end(), 1);
  unsigned int zweier = count(nmbrs.begin(), nmbrs.end(), 2);
  unsigned int dreier = count(nmbrs.begin(), nmbrs.end(), 3);
  cerr << nuller << " " << einser << " " << zweier << " " << dreier << endl;
  if ((einser + dreier + (zweier > 0 ? 1 : 0) - nuller) > 1) {
    cout << "No\n";
  } else {
    cout << "Yes\n";
  }
  return 0;
}
