#include <bits/stdc++.h>
using namespace std;
int main(void) {
  int atc;
  int N;
  cin >> N;
  int four_n = 0;
  int two_n = -1;
  for (int i = 0; i < N; i++) {
    cin >> atc;
    if (atc % 4 == 0) {
      four_n++;
    } else if (atc % 2 == 0) {
      two_n++;
    }
  }
  if (four_n > 0) {
    four_n++;
    if (N % 2 == 0) {
      four_n++;
    }
  }
  if (N - 1 <= four_n + two_n) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
}
