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