#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using vi = vector<int>;
using vll = vector<ll>;
int main() {
  int n;
  cin >> n;
  vi a(n);
  for (int i = 0; i < (int)n; ++i) cin >> a[i];
  int o = 0, d4 = 0, e = 0;
  for (int i = 0; i < (int)n; ++i) {
    if (a[i] & 1)
      o += 1;
    else if (a[i] % 4 == 0)
      d4 += 1;
    else
      e += 1;
  }
  if (o > d4 + 1 || (d4 == 0 && o > 0)) return cout << ("No") << endl, 0;
  if (e == 1)
    if (o > d4) return cout << ("No") << endl, 0;
  cout << ("Yes") << endl;
  return 0;
}
