#include <bits/stdc++.h>
using namespace std;
int a[10005];
int main() {
  int n;
  int l = 0;
  int flag = 0;
  int p = 0;
  cin >> n;
  for (int i = 1; i <= n; i++) {
    scanf("%d", &a[i]);
    if (a[i] % 4 == 0) l++;
    if (a[i] % 2 == 0) p++;
  }
  int w = p - l;
  int y = w / 2;
  if (n % 2 == 0) {
    if (l + y >= n / 2) flag = 1;
  } else {
    if (l + y >= (n - 1) / 2) flag = 1;
  }
  if (flag)
    printf("Yes\n");
  else
    printf("No\n");
}
