#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
  int n;
  cin >> n;
  int num[3];
  for (int i = 0; i < n; i++) {
    ll a;
    cin >> a;
    num[a % 4]++;
  }
  string ans;
  int key = n - num[2];
  if (num[2] >= 2) {
    if (key <= 2 * num[0])
      ans = "Yes";
    else
      ans = "No";
  } else {
    if (n / 2 <= num[0])
      ans = "Yes";
    else
      ans = "No";
  }
  cout << ans << endl;
}
