#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
  int n;
  cin >> n;
  int tmp = 0;
  int b1 = 0, b2 = 0, b4 = 0;
  for (int(i) = (0); (i) < (n); (i)++) {
    cin >> tmp;
    if (tmp % 4)
      b4++;
    else if (tmp % 2)
      b2++;
    else
      b1++;
  }
  if (b2 == 0) {
    if (b4 + 1 >= b1) {
      cout << "Yes" << endl;
      return 0;
    } else {
      cout << "No" << endl;
      return 0;
    }
  } else if (b2 == 1) {
    b1++;
    if (b4 >= b1) {
      cout << "Yes" << endl;
      return 0;
    } else {
      cout << "No" << endl;
      return 0;
    }
  } else {
    if (b4 >= b1) {
      cout << "Yes" << endl;
      return 0;
    } else {
      cout << "No" << endl;
      return 0;
    }
  }
  return 0;
}
