#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  scanf("%d", &n);
  int count0 = 0;
  int count1 = 0;
  int x;
  for (int i = 0; i < n; i++) {
    scanf("%d", &x);
    if (x % 4 == 0) {
      count0++;
    } else if (x % 2 == 0) {
      count1++;
    }
  }
  n -= count0 * 3;
  if (n <= 0) {
    puts("Yes");
  } else {
    if (n <= count1) {
      puts("Yes");
    } else {
      puts("No");
    }
  }
  return 0;
}
