#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int a[n];
  int x4 = 0, x2 = 0, x1 = 0;
  for (int i = 0; i < n; i++) {
    cin >> a[i];
    if (a[i] % 4 == 0)
      x4++;
    else if (a[i] % 4 == 2)
      x2++;
    else
      x1++;
  }
  if (x2 != 0) {
    if (x4 >= x1) {
      cout << "Yes" << endl;
      return 0;
    }
  } else {
    if (x4 > x1) {
      cout << "Yes" << endl;
      return 0;
    }
  }
  cout << "No" << endl;
}
