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