#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  int N;
  cin >> N;
  int two = 0, fo = 0;
  for (int i = (0); i < (N); ++i) {
    long long in;
    cin >> in;
    if (in == 2) {
      two++;
    } else if (in % 4 == 0) {
      fo++;
    }
  }
  if (two == N) {
    cout << "Yes" << endl;
    return 0;
  }
  N -= two / 2 * 2;
  if (N <= 2 * fo + 1 && fo != 0) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
  return 0;
}
