#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int cnt4 = 0, cntN4 = 0, cnt2 = 0;
  for (int i = 0; i < n; i++) {
    int tmp;
    cin >> tmp;
    if (tmp % 4 == 0) {
      cnt4++;
    } else {
      if (tmp % 2 == 0) {
        cnt2++;
      } else {
        cntN4++;
      }
    }
  }
  cnt4 += cnt2 / 2;
  cntN4 += cnt2 % 2;
  if ((cnt4 - cntN4) < -1) {
    cout << "No" << endl;
  } else {
    cout << "Yes" << endl;
  }
  return 0;
}
