#include <bits/stdc++.h>
using namespace std;
void open() { freopen("input.txt", "r", stdin); }
int main() {
  int x, n;
  while (~scanf("%d", &n)) {
    int num_4 = 0, num_2 = 0, num_1 = 0;
    for (int i = 0; i < (n); ++i) {
      scanf("%d", &x);
      if (x % 4 == 0) {
        num_4++;
        continue;
      }
      if (x % 2 == 0) {
        num_2++;
        continue;
      }
      num_1++;
    }
    if (2 * num_4 + 1 >= n) {
      puts("Yes");
      continue;
    }
    if (num_1 > num_4) {
      puts("No");
      continue;
    }
    num_4 -= num_1;
    num_2 = num_2 % 2;
    if (num_2 == 1 && num_4 == 0) {
      puts("No");
      continue;
    }
    puts("Yes");
  }
}
