#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, i;
  int a[123456], b[123465] = {};
  cin >> n;
  for (i = 0; i < n; i++) {
    cin >> a[i];
    a[i] %= 4;
    b[a[i]]++;
  }
  int f = 0;
  b[0] += b[2] / 2;
  b[2] = b[2] % 2;
  if (b[0] + 1 >= b[3] + b[2] + b[1]) {
    f = 1;
  }
  printf(f ? "Yes" : "No");
  puts("");
  return 0;
}
