#include <bits/stdc++.h>
using namespace std;
const int maxn = 100001;
int main() {
  int a = 0, b = 0, c = 0;
  int n;
  cin >> n;
  for (int i = 0; i < n; i++) {
    int tmp;
    cin >> tmp;
    if (tmp % 4 == 0)
      a++;
    else if (tmp % 2 == 0)
      b++;
    else
      c++;
  }
  if (a >= c / 2 or (a + b) == n)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
