#include <bits/stdc++.h>
using namespace std;
int main() {
  int N;
  int num[3] = {0};
  cin >> N;
  for (int i = 0; i < N; i++) {
    int x;
    cin >> x;
    if (x % 4 == 0) {
      num[2]++;
    } else if (x % 2 == 0) {
      num[1]++;
    } else {
      num[0]++;
    }
  }
  if (num[2] < num[0] - 1) {
    cout << "No" << endl;
  } else if (num[2] == num[0] - 1) {
    if (num[1] >= 2 || num[1] == 0) {
      cout << "Yes" << endl;
    } else {
      cout << "No" << endl;
    }
  } else if (num[2] > num[0] - 1) {
    cout << "Yes" << endl;
  }
  return 0;
}
