#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  vector<int> cnt(4);
  for (int i = 0; i < (n); i++) {
    int x;
    cin >> x;
    cnt[x % 4]++;
  }
  int x = cnt[1] + cnt[3];
  int y = cnt[0];
  if (y + 1 < x)
    cout << "No" << endl;
  else
    cout << "Yes" << endl;
}
