#include <bits/stdc++.h>
using namespace std;
const int dx[] = {1, -1, 0, 0};
const int dy[] = {0, 0, -1, 1};
const double PI = 3.14159265358979323846;
template <typename T>
void printA(vector<T> &printArray, char between = ' ') {
  int paSize = printArray.size();
  for (int i = 0; i < paSize; i++) {
    cerr << printArray[i] << between;
  }
  if (between != '\n') {
    cerr << endl;
  }
}
long long N;
long long a[111111];
int main() {
  cin >> N;
  long long four = 0, two = 0;
  for (int(i) = (0); (i) < (N); ++(i)) {
    cin >> a[i];
    if (a[i] % 4 == 0) {
      four++;
    } else if (a[i] % 2 == 0) {
      two++;
    }
  }
  if (N <= (four * 3 + (two / 2) * 2) || two == N) {
    puts("Yes");
  } else {
    puts("No");
  }
  return 0;
}
