#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int c4 = 0, cn4 = 0, c2 = 0, c6 = 0;
  for (int i = 0; i < n; i++) {
    long long a;
    cin >> a;
    if (a % 2 == 0 && a % 4 != 0) {
      c2++;
      continue;
    }
    if (a % 4 == 0)
      c4++;
    else
      cn4++;
  }
  cn4 += c2 % 2;
  float x = c4, y = (float)cn4 / 2;
  if (x >= y)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
}
