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