#include <bits/stdc++.h>
const int MAXN = 100010;
int n, a[MAXN];
int main() {
  scanf("%d", &n);
  int num = 0, ans = 0;
  for (int i = 0; i < n; i++) {
    scanf("%d", &a[i]);
    if (a[i] % 4 == 0) {
      num++;
    }
    if (a[i] == 2) {
      ans++;
    }
  }
  if (num + ans / 2 >= n / 2) {
    printf("Yes\n");
  } else {
    printf("No\n");
  }
  return 0;
}
