#include <bits/stdc++.h>
using namespace std;
const int inf = (int)1e9;
const long long INF = (long long)1e18;
const double eps = 1e-9;
const double pi = acos(-1.0);
const int mod = (int)1e9 + 7;
int n, x, y, z;
string solve() {
  cin >> n;
  for (int i = 0, cur; i < n; ++i) {
    cin >> cur;
    if (cur % 4 == 0)
      x++;
    else if (cur % 2 == 0)
      z++;
    else
      y++;
  }
  y += z / 2;
  y += (z % 2 != 0);
  return (y - x > 1 ? "No" : "Yes");
}
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout << solve() << "\n";
  return 0;
}
