#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]++;
  }
  if (n - num[2] <= 2 * num[0])
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
}
