#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int zero = 0, two = 0, shit = 0;
  for (int i = 0; i < n; i++) {
    int a;
    cin >> a;
    a = a % 4;
    if (a == 0)
      zero++;
    else if (a == 2)
      two++;
    else
      shit++;
  }
  if (shit >= 1 && zero == 0) {
    cout << "No" << endl;
  } else {
    if (shit <= (zero * 2)) {
      if (two % 2 == 0)
        cout << "Yes" << endl;
      else {
        if (shit + 1 <= (zero * 2))
          cout << "Yes" << endl;
        else
          cout << "No" << endl;
      }
    } else
      cout << "No" << endl;
  }
}
