#include <bits/stdc++.h>
using namespace std;
long long ans, mx, mn = 1e8, sum, cnt;
int main() {
  long long n;
  cin >> n;
  long long a[n];
  long long four = 0, two = 0;
  for (int i = 0; i < n; i++) {
    cin >> a[i];
  }
  for (int i = 0; i < n; i++) {
    if (a[i] % 4 == 0) four++;
    if (a[i] % 4 != 0 && a[i] % 2 == 0) two++;
  }
  long long odd = 0;
  if (n == 3 && four >= 1) {
    cout << "Yes";
    return 0;
  }
  if (two == 1) {
    odd += 1;
    odd += n - four;
  } else
    odd = n - (four + two);
  long long x = ceil((double)odd) / 2.0;
  if (x > four)
    cout << "No";
  else
    cout << "Yes";
}
