#include <bits/stdc++.h>
using namespace std;
int main() {
  long long aa = 0, bb = 0, cc = 0, dd = 0;
  long long x;
  cin >> x;
  long long s;
  for (int i = 0; i < x; i++) {
    cin >> s;
    if (s % 4 == 0)
      aa++;
    else if (s % 4 == 1)
      bb++;
    else if (s % 4 == 2)
      cc++;
    else if (s % 4 == 3)
      dd++;
  }
  aa *= 2;
  bb *= 2;
  cc *= 2;
  dd *= 2;
  bool a = true;
  while (a) {
    a = false;
    if (aa > 0 && dd > 0) {
      aa--;
      dd--;
      a = true;
    } else if (aa > 0 && bb > 0) {
      aa--;
      bb--;
      a = true;
    } else if (cc > 1) {
      cc -= 2;
      a = true;
    } else if (aa > 0 && cc > 0) {
      aa--;
      cc--;
      a = true;
    }
  }
  if (aa == bb && cc == dd && cc == bb && aa == 0)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
