#include <bits/stdc++.h>
using namespace std;
using ll = long long;
const int INF = 1e9;
const double EPS = 1e-10;
const int MOD = 1e9 + 7;
const double PI = acos(-1.0);
int main() {
  int n;
  cin >> n;
  int c2 = 0, c4 = 0;
  for (int i = 0; i < (int)(n); i++) {
    int a;
    cin >> a;
    if (a % 4 == 0)
      c4++;
    else if (a % 2 == 0)
      c2++;
  }
  if (c4) n--;
  cout << (c4 * 2 + c2 >= n ? "Yes" : "No") << "\n";
  return 0;
}
