#include <bits/stdc++.h>
using namespace std;
int main() {
  int N;
  int n4 = 0;
  int n2 = 0;
  int other = 0;
  cin >> N;
  for (int i = 0; i < N; i++) {
    int tmp;
    cin >> tmp;
    if (tmp % 4 == 0) {
      n4++;
    } else if (tmp % 2 == 0) {
      n2++;
    } else {
      other++;
    }
  }
  if (n2 == 0) {
    if (n4 >= other + 1) {
      cout << "Yes" << endl;
    } else {
      cout << "No" << endl;
    }
  } else {
    if (n4 >= other) {
      cout << "Yes" << endl;
    } else {
      cout << "No" << endl;
    }
  }
  return 0;
}
