#include <bits/stdc++.h>
using namespace std;
const int INF = 1e9;
const long long LINF = 1e18;
const long long MOD = 1e9 + 7;
int x_pos[4] = {1, 0, -1, 0}, y_pos[4] = {0, 1, 0, -1};
int ctoi(char c) {
  if (c >= '0' && c <= '9') {
    return c - '0';
  }
  return 0;
}
char upper(char c) { return c - 0x20; }
char lower(char c) { return c + 0x20; }
long long gcd(long long x, long long y) {
  if (y == 0) return x;
  return gcd(y, x % y);
}
long long lcm(long long x, long long y) {
  long long g = gcd(x, y);
  return x / g * y;
}
int main() {
  int n;
  cin >> n;
  vector<long long> v(n);
  int two = 0, four = 0;
  for (int i = 0; i < (n); ++i) {
    int a;
    cin >> a;
    if (a % 4 == 0) {
      four++;
    } else if (a % 2 == 0) {
      two++;
    }
  }
  if (two < 2) two = 0;
  cout << (two + four * 2 + 1 >= n ? "Yes" : "No") << endl;
}
