#include <bits/stdc++.h>
using namespace std;
int main(void) {
  int n;
  while (cin >> n) {
    int cnt = 0, cnt2 = 0;
    for (int i = 0; i < n; i++) {
      int num;
      scanf("%d", &num);
      if (num % 4 == 0) cnt++;
      if (num == 2) cnt2++;
    }
    if (cnt2 > 1) n = n - cnt2 + 1;
    if (cnt >= n / 2)
      cout << "Yes\n";
    else
      cout << "No\n";
  }
}
