#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;
  long long 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 += 1;
    } else {
      flag++;
    }
  }
  if (flag <= tmp + 1 && count == 0) {
    cout << "Yes" << endl;
  } else if (flag <= tmp && count != 0) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
  return 0;
}
