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