#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int n;
vector<ll> T(100);
ll gcl(ll x, ll y) {
  if (x < y) swap(x, y);
  while (y > 0) {
    ll t = x % y;
    x = y;
    y = t;
  }
  return x;
}
int main() {
  cin >> n;
  int count0 = 0, count4 = 0;
  for (int i = 0; i < n; i++) {
    int a;
    cin >> a;
    if (a % 2 == 1) count0++;
    if (a % 4 == 0) count4++;
  }
  if (count0 <= count4 || (n == 3 && count4 == 1 && count0 == 2))
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
}
