#include <bits/stdc++.h>
using namespace std;
__attribute__((constructor)) void initial() {
  cin.tie(0);
  ios::sync_with_stdio(false);
}
signed main() {
  long long n, a[10001];
  long long one = 0, two = 0, four = 0;
  string result;
  cin >> n;
  for (long long i = 0; i < (n); i++) {
    cin >> a[i];
    if (a[i] % 4 == 0)
      four++;
    else if (a[i] % 2 == 0)
      two++;
    else
      one++;
  }
  if (two) {
    if (one <= four)
      result = "Yes";
    else
      result = "No";
  } else {
    if (one <= four + 1)
      result = "Yes";
    else
      result = "No";
  }
  cout << result << endl;
  return 0;
}
