#include <bits/stdc++.h>
using namespace std;
int n;
int q[1001];
bool havetwo = 0;
int four, one;
int main() {
  cin >> n;
  for (int i = 1; i <= n; i++) {
    int shuru;
    cin >> shuru;
    if (shuru % 4 == 0) four++;
    if (shuru & 1) one++;
    if (shuru % 2 == 0 && shuru % 4 != 0) havetwo = 1;
  }
  if (havetwo == 0) {
    if (one <= four + 1)
      cout << "Yes";
    else
      cout << "No";
  } else {
    if (one <= four)
      cout << "Yes";
    else
      cout << "No";
  }
  return 0;
}
