#include <bits/stdc++.h>
using namespace std;
const long long INF = 1e9 + 7;
long long gcd(long long x, long long y) {
  if (x % y == 0) return y;
  return gcd(y, x % y);
}
long long LCM(int a, int b) { return a * b / gcd(a, b); }
int main(void) {
  int n;
  cin >> n;
  vector<long long> a(n);
  int one, two, four;
  one = two = four = 0;
  for (int i = 0; i < (int)n; ++i) {
    cin >> a[i];
    if (a[i] % 2 == 0) {
      if (a[i] / 2 == 1)
        two++;
      else if (a[i] / 2 >= 2)
        four++;
    } else
      one++;
  }
  if (two == 0)
    cout << (one <= four + 1 ? "Yes" : "No") << endl;
  else {
    cout << (one <= four ? "Yes" : "No") << endl;
  }
  return 0;
}
