#include <bits/stdc++.h>
using namespace std;
int CountOdd, Count4, Count2;
int main(void) {
  long long n;
  scanf("%lld", &n);
  for (int i = 0; i < n; ++i) {
    int x;
    cin >> x;
    if (x % 2 == 1) {
      CountOdd++;
    } else if (x % 4 == 0) {
      Count4++;
    } else
      Count2++;
  }
  if (Count2 <= 1) {
    if (Count4 >= (CountOdd + Count2) - 1)
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
  } else {
    if (Count4 >= CountOdd + 1)
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
  }
}
