#include <bits/stdc++.h>
using namespace std;
const int MAXN = 1e5 + 10;
int a[MAXN];
int N;
int main() {
  while (scanf("%d", &N) != EOF) {
    int sum = 0, count = 0;
    for (int i = 1; i <= N; i++) {
      scanf("%d", &a[i]);
      if (a[i] % 4 == 0) sum++;
      if (a[i] == 2) count++;
    }
    bool flag = true;
    if (sum >= N / 2 || count == N) flag = false;
    ;
    if (count > 0) {
      if (sum >= (N - count + 1) / 2) flag = false;
    }
    if (flag)
      cout << "No" << endl;
    else
      cout << "Yes" << endl;
  }
}
