#include <bits/stdc++.h>
using namespace std;
const int N = 1e5 + 5;
int a[N];
int main() {
  int n;
  cin >> n;
  int cnt4 = 0, cnt2 = 0;
  for (int i = 0; i < n; i++) {
    cin >> a[i];
    a[i] %= 4;
    if (a[i] == 0)
      cnt4++;
    else if (a[i] == 2)
      cnt2++;
  }
  int cnt = n - cnt2 - cnt4;
  if (cnt2) {
    if (cnt4 >= cnt) cout << "Yes";
  } else {
    if (cnt4 && cnt4 + 1 >= cnt) cout << "Yes";
  }
  cout << "No";
  return 0;
}
