#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int oddCnt = 0;
  int evenCnt = 0;
  int fourCnt = 0;
  for (int i = 0; i < n; ++i) {
    int t;
    cin >> t;
    if (t % 4 == 0) {
      ++fourCnt;
    }
    if (t % 2 == 0) {
      ++evenCnt;
    } else {
      ++oddCnt;
    }
  }
  string str = "No";
  if ((n == 3 && fourCnt >= 1) ||
      (oddCnt <= 2 && fourCnt >= oddCnt && evenCnt >= n - oddCnt) ||
      (evenCnt == n)) {
    str = "Yes";
  }
  cout << str << endl;
}
