#include <bits/stdc++.h>
using namespace std;
using ll = long long;
const ll MOD = 1e9 + 7;
const ll LINF = LLONG_MAX;
const int INF = INT_MAX;
int main() {
  int n;
  cin >> n;
  int four_cnt = 0;
  int two_cnt = 0;
  for (int i = (0); i < (int)(n); i++) {
    ll x;
    cin >> x;
    if (x % 4 == 0) {
      four_cnt++;
    } else if (x % 2 == 0) {
      two_cnt++;
    }
  }
  if (n % 2 == 1) {
    if (four_cnt >= n / 2 or two_cnt >= n)
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
    return 0;
  }
  if (four_cnt * 2 + two_cnt >= n)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
}
