#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n;
  cin >> n;
  long long a[100010];
  long long cnt = 0;
  long long ct = 0;
  for (int i = 0; i < n; i++) {
    cin >> a[i];
    if (a[i] % 4 == 0) cnt++;
    if (a[i] == 2) ct++;
  }
  if ((n - cnt - ct) / 2 <= cnt) {
    if (ct >= 2 || ct == 0) {
      cout << "Yes" << endl;
    } else {
      cout << "No" << endl;
    }
  } else {
    cout << "No" << endl;
  }
}
