#include <bits/stdc++.h>
using namespace std;
int main() {
  int N;
  int a[1000000000], c1, c2, c3;
  c1 = 0;
  c2 = 0;
  c3 = 0;
  cin >> N;
  for (int i = 0; i < N; ++i) {
    cin >> a[i];
    if (a[i] % 4 == 0)
      c1++;
    else if (a[i] % 2 == 0)
      c2++;
    else
      c3++;
  }
  if (c1 >= c3 || c2 == 0 && c1 + 1 == c3)
    cout << 'Yes' << endl;
  else
    cout << 'No' << endl;
}
