#include <bits/stdc++.h>
using namespace std;
int N, a, o, t, f;
int main() {
  cin >> N;
  while (N--) {
    cin >> a;
    if (a % 2)
      ++o;
    else if (a % 4)
      ++t;
    else
      ++f;
  }
  cout << (2 * f - o - (t == 1) < 0 ? "No" : "Yes") << endl;
}
