#include <bits/stdc++.h>
using namespace std;
struct cww {
  cww() {
    ios::sync_with_stdio(false);
    cin.tie(0);
  }
} star;
const long long INF = numeric_limits<long long>::max();
int main() {
  int N, count4, count2;
  cin >> N;
  vector<int> a(N);
  for (int i = 0; i < (N); i++) {
    cin >> a[i];
    if (a[i] % 4 == 0)
      count4++;
    else if (a[i] % 2 == 0) {
      count2++;
    }
  }
  string ans;
  if (count4 * 2 + count2 >= N)
    ans = "Yes";
  else {
    ans = "No";
  }
  cout << ans;
  return 0;
}
