#include <bits/stdc++.h>
using namespace std;
const int maxn = 100010;
int n;
int a;
int main() {
  scanf("%d", &n);
  int temp1 = 0, temp2 = 0;
  for (int i = 0; i < n; i++) {
    scanf("%d", &a);
    if (a % 2 == 0) temp1++;
    if (a % 4 == 0) temp2++;
  }
  temp1 -= temp2;
  n = n - temp1 + (temp1 == 1);
  if (temp2 >= n / 2)
    puts("Yes");
  else
    puts("No");
}
