#include <bits/stdc++.h>
using namespace std;
int arr[100005];
bool solve(int n, int arr[]) {
  int i, count = 0, even = 0;
  ;
  for (i = 0; i < n; i++) {
    if (arr[i] % 4 == 0)
      count++;
    else if (arr[i] % 2 == 0)
      even++;
    if (count >= n / 2) return true;
  }
  n -= count * 2;
  if (even >= n) return true;
  return false;
}
int main() {
  int n;
  while (scanf("%d", &n)) {
    for (int i = 0; i < n; i++) scanf("%d", &arr[i]);
    if (solve(n, arr))
      printf("Yes\n");
    else
      printf("No\n");
  }
  return 0;
}
