#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
  int N;
  cin >> N;
  int a_4multi = 0, a_2num = 0, a_odd = 0;
  for (int i = 0; i < N; ++i) {
    int a;
    cin >> a;
    if (a % 4 == 0)
      a_4multi++;
    else if (a == 2)
      a_2num++;
    else
      a_odd++;
  }
  if ((a_2num == 0 and a_4multi + 1 >= a_odd) or
      (a_2num > 0 and a_4multi + 1 >= a_odd + 1)) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
}
