#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(false);
  int n;
  int d[100000];
  cin >> n;
  int i1 = 0, i2 = 0;
  for (int i = 0; i < n; i++) {
    cin >> d[i];
    if (d[i] % 4 == 0)
      i1++;
    else
      i2++;
  }
  if (i1 + i2 == n && i2 == i1 + 1)
    cout << "Yes" << endl;
  else if (i1 >= i2)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
}
