#include <bits/stdc++.h>
using namespace std;
int main(void) {
  int n;
  while (~scanf("%d", &n)) {
    int a = 0;
    int b = 0;
    int c = 0;
    int v;
    for (int i = 1; i <= n; i++) {
      scanf("%d", v);
      if (v % 4 == 0)
        a++;
      else {
        if (v % 2 == 0)
          b++;
        else
          c++;
      }
    }
    int x;
    if (b != 0)
      x = n - b + 1;
    else
      x = n;
    if (a >= x / 2)
      printf("Yes\n");
    else
      printf("No\n");
  }
  return 0;
}
