#include <bits/stdc++.h>
using namespace std;

int main() {
  long n, e = 0, o = 0, f = 0;
  cin >> n;
  for (int i = 0; i < n; i++) {
    int a;
    cin >> a;
    if (!(a % 4)) {
      f++;
      continue;
    }
    a % 2 ? o++ : e++;
  }
  e % 2 ? e = 1 : e = 0;
  cout << ((o + e) - f <= 1 ? "Yes\n" : "No\n");
  return 0;
}
