#include <bits/stdc++.h>
using namespace std;
long long INFl = 1e+18 + 1;
int INF = 1e+9 + 1;
int main() {
  int N;
  int a[100001];
  int two = 0, four = 0;
  cin >> N;
  for (int i = 0; i < N; i++) {
    cin >> a[i];
    if (a[i] % 4 == 0)
      four++;
    else if (a[i] % 2 == 0)
      two++;
  }
  if (two + four * 2 >= N)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
