#include <bits/stdc++.h>
using namespace std;
const int maxn = 1e8 + 7;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  ;
  int n;
  cin >> n;
  int t;
  int num2 = 0;
  int mod4 = 0, notmod = 0;
  for (int i = 0; i < n; i++) {
    cin >> t;
    if (t % 4 == 0)
      mod4++;
    else if (t == 2)
      num2++;
    else
      notmod++;
  }
  if (num2 != 0) {
    notmod++;
    n = n - num2 + 1;
  }
  if (mod4 >= n / 2)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
