#include <bits/stdc++.h>
using namespace std;
int a, n, b = 0, c = 0;
int main() {
  scanf("%d", &n);
  for (int i = 0; i < n; i++) {
    scanf("%d", &a);
    if (a % 4 == 0) {
      b++;
    } else if (a % 2 == 0) {
      c++;
    }
  }
  if (b + c / 2 == n / 2)
    printf("Yes\n");
  else
    printf("No\n");
}
