#include <bits/stdc++.h>
using namespace std;
const int maxn = 100002;
int a[maxn];
int b[maxn] = {0};
int main() {
  int n;
  while (cin >> n) {
    int sum = 0, numberof2 = 0;
    for (int i = 0; i < n; i++) {
      cin >> a[i];
      if (a[i] % 4 == 0) {
        b[i] = 1;
        sum++;
      }
      if (a[i] == 2) {
        numberof2++;
      }
    }
    if (numberof2 >= 2) {
      n = n - (numberof2 - 1);
      if (n % 2 == 1) {
        if (sum >= (n - 1) / 2) {
          cout << "Yes" << endl;
        } else {
          cout << "No" << endl;
        }
      }
      if (n % 2 == 0) {
        if (sum >= n / 2) {
          cout << "Yes" << endl;
        } else {
          cout << "No" << endl;
        }
      }
    } else {
      if (n % 2 == 1) {
        if (sum >= (n - 1) / 2) {
          cout << "Yes" << endl;
        } else {
          cout << "No" << endl;
        }
      }
      if (n % 2 == 0) {
        if (sum >= n / 2) {
          cout << "Yes" << endl;
        } else {
          cout << "No" << endl;
        }
      }
    }
  }
  return 0;
}
