#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int o, t, f;
  o = 0;
  t = 0;
  f = 0;
  for (int i = 0; i < n; i++) {
    int k;
    cin >> k;
    if (k % 4 == 0)
      f++;
    else {
      if (k % 2 == 0)
        t++;
      else
        o++;
    }
  }
  int u, v;
  if (f > 0)
    u = 2 * f + 1;
  else
    u = 0;
  if (t > 1)
    v = t;
  else
    v = 0;
  if (u + v >= n)
    printf("Yes\n");
  else
    printf("No\n");
  return 0;
}
