#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  long long t = 1;
  while (t--) {
    long long n, i, j;
    cin >> n;
    long long a, c1 = 0, c2 = 0, c4 = 0;
    for (i = 0; i < n; i++) {
      cin >> a;
      if (a % 4 == 0)
        c4++;
      else if (a % 2 == 0)
        c2++;
      else
        c1++;
    }
    if (c4 < c1 && c2 == 1)
      cout << "No";
    else if (c4 + 1 < c1)
      cout << "No";
    else
      cout << "Yes";
  }
  return 0;
}
