#include <bits/stdc++.h>
using namespace std;
const long long mod = 1000000007;
const long long LINF = 1LL << 60;
const int INF = 1 << 30;
int main() {
  long long n, l, tmp = 0;
  cin >> n;
  long long m = n;
  int flag = 0;
  long long count = 0;
  for (long long i = 0; i < n; i++) {
    cin >> l;
    if (l == 2) {
      count++;
    } else if (l % 4 == 0) {
      tmp += 2;
    }
  }
  if (count != n && count != 0) {
    m -= (count - 1);
  }
  m -= (m % 2);
  m -= tmp;
  if (m <= 0 || count == n) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
  return 0;
}
