#include <bits/stdc++.h>
using namespace std;
int main() {
  int N, odds = 0, evens = 0, fours = 0;
  cin >> N;
  for (int i = 0; i < N; i++) {
    int a;
    cin >> a;
    if (a % 4 == 0) {
      fours++;
    } else if (a % 2 == 0) {
      evens++;
    } else {
      odds++;
    }
  }
  if (evens == 1) {
    odds++;
  }
  if (odds > 2 * fours) {
    cout << "No" << endl;
  } else {
    cout << "Yes" << endl;
  }
}
