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