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