#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, a;
  cin >> n;
  int m, m2, m4;
  m = m2 = m4 = 0;
  for (int i = 0; i < n; i++) {
    cin >> a;
    if (a == 2)
      m2++;
    else if (a % 2 != 0)
      m++;
    else
      m4++;
  }
  if (m2 == 0) {
    if (m4 + 1 >= m)
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
  } else {
    if (m4 >= m - m2 / 2)
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
  }
  return 0;
}
