#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int N, M;
int cnt = 0;
int ans = 0;
int tmp;
int main() {
  cin >> N;
  int a[N];
  int b[3] = {0};
  for (int i = 0; i < (int)(N); i++) cin >> a[i];
  for (int i = 0; i < (int)(N); i++) {
    if (a[i] % 4 == 0)
      b[2]++;
    else if (a[i] % 2 == 0)
      b[1]++;
    else
      b[0]++;
  }
  if (b[1] == 0) {
    if (b[0] <= b[2] + 1)
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
  } else {
    if (b[1] <= b[2])
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
  }
  return 0;
}
