#include <bits/stdc++.h>
using namespace std;
const long long MOD = 1e9 + 7;
const long long INF = 1e18;
const long long MAX = 3000;
signed main() {
  long long N;
  cin >> N;
  long long count = 0;
  long long xcou = 0;
  for (long long i = (0); i < (N); ++i) {
    long long a;
    cin >> a;
    if (a % 4 == 0)
      count++;
    else if (a % 2 == 0)
      xcou++;
  }
  if (xcou == 1) xcou = 0;
  cout << (N / 2 - xcou <= count ? "Yes" : "No") << endl;
}
