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