#include <bits/stdc++.h>
using namespace std;
const int maxn = 1e5 + 5;
int x, cnt[3], n;
int main() {
  while (scanf("%d", &n) == 1) {
    memset(cnt, 0, sizeof cnt);
    for (int i = 1; i <= n; i++) {
      scanf("%d", &x);
      if (x % 4 == 0)
        cnt[0]++;
      else if (x % 2 == 0)
        cnt[1]++;
      else
        cnt[2]++;
    }
    if (cnt[0] >= cnt[2] + (cnt[1] > 0 ? 1 : 0))
      puts("Yes");
    else
      puts("No");
  }
  return 0;
}
