#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int n;
ll a[100010];
int c[5];
int main() {
  cin >> n;
  for (int i = (0); i < (n); i++) {
    cin >> a[i];
    if (a[i] % 4 == 0) {
      a[i] = 4;
    } else if (a[i] % 2 == 0) {
      a[i] = 2;
    } else {
      a[i] = 1;
    }
    c[a[i]]++;
  }
  int f2 = 0;
  if (c[2]) f2 == 1;
  if (f2) {
    if (c[0] >= c[1] + c[3]) cout << "Yes";
    cout << "No";
  } else {
    if (c[0] >= floor(n / 2))
      cout << "Yes";
    else
      cout << "No";
  }
  return 0;
}
