#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(0), cin.tie(0);
  int n;
  cin >> n;
  vector<int> v(n);
  vector<bool> mark(n);
  int cnt4 = 0, cnt2 = 0;
  for (int i = 0; i < (int)n; i++) {
    cin >> v[i];
    if (v[i] % 4 == 0) mark[i] = 1, cnt4++;
  }
  for (int i = 0; i < (int)n; i++) {
    if (!mark[i]) {
      if (v[i] % 2 == 0) cnt2++;
    }
  }
  bool y = false;
  cnt2 = cnt2 & 1 ? cnt2 - 1 : cnt2;
  int rest = n - (cnt4 + cnt2);
  if (cnt2 == 0)
    y = cnt4 + 1 >= rest;
  else
    y = cnt4 >= rest;
  if (y)
    cout << "Yes" << '\n';
  else
    cout << "No" << '\n';
  return 0;
}
