#include <bits/stdc++.h>
using namespace std;
int abso(int x) {
  if (x < 0) return -1 * x;
  return x;
}
int main() {
  int n;
  scanf("%d", &n);
  int cnt2 = 0, cnt4 = 0;
  for (int i = 1, _b = (n); i <= _b; i++) {
    int x;
    scanf("%d", &x);
    if (x % 4 == 0) cnt4++;
    if (x == 2) cnt2++;
  }
  int y = n;
  if (cnt2 > 1) y = n - cnt2;
  if (cnt4 >= y / 2) {
    printf("Yes\n");
  } else {
    printf("No\n");
  }
  return 0;
}
