#include <bits/stdc++.h>
using namespace std;
char ch[10000005];
int main() {
  int n;
  while (cin >> n) {
    int sum1 = 0, sum2 = 0, sum3 = 0;
    while (n--) {
      int x;
      cin >> x;
      if (x != 1 && x % 2 == 0 && x % 4) sum1++;
      if (x != 1 && x % 2) sum2++;
      if (x % 4 == 0) sum3++;
    }
    if (sum1 == 0 && sum3 == 0) {
      cout << "No" << endl;
      continue;
    }
    if (sum1 % 2) sum1--, sum3--;
    if (sum2 % 2 && sum3 == 0) {
      cout << "No" << endl;
      continue;
    }
    if (sum2 > sum3) {
      cout << "No" << endl;
      continue;
    }
    cout << "Yes" << endl;
  }
  return 0;
}
