#include <bits/stdc++.h>
using namespace std;
int arr[100010], brr[100010];
int main(void) {
  int n, zero = 0, one = 0, two = 0;
  bool fail = false;
  scanf("%d", &n);
  for (int i = 1; i <= n; i++) {
    scanf("%d", &arr[i]);
    if (arr[i] % 4 == 0) {
      brr[i] = 2;
      two++;
    } else if (arr[i] % 2 == 0) {
      brr[i] = 1;
      one++;
    } else {
      zero++;
    }
  }
  if (zero > two) {
    fail = true;
    if (n == 3 && zero == 2 && two == 1) fail = false;
  }
  if (fail)
    printf("No\n");
  else
    printf("Yes\n");
  return 0;
}
