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