#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  scanf("%d", &n);
  int x;
  int four = 0, two = 0, one = 0;
  for (int i = 0; i < n; i++) {
    scanf("%d", &x);
    if (x % 4 == 0) {
      four++;
    } else if (x % 2 == 0) {
      two++;
    } else {
      one++;
    }
  }
  if (two == 1) {
    one++;
  }
  one -= four * 2;
  if (one > 0) {
    puts("No");
  } else {
    puts("Yes");
  }
}
