#include <bits/stdc++.h>
using namespace std;
const int maxn = 1e5 + 5;
int num[maxn];
int main(int argc, char const *argv[]) {
  int n;
  while (~scanf("%d", &n)) {
    int temp, two = 0, four = 0;
    for (int i = 0; i < n; i++) {
      scanf("%d", &temp);
      if (temp % 4 == 0) {
        four += 3;
      } else if (temp % 4 != 0 && temp % 2 == 0) {
        two++;
      }
    }
    int ans = 0;
    ans = four + two / 2;
    if (ans >= n) {
      printf("Yes\n");
    } else {
      printf("No\n");
    }
  }
  return 0;
}
