#include <bits/stdc++.h>
using namespace std;
const long long MOD = 1e9 + 7;
const long long INF = 1e18;
int main() {
  int N, four = 0, two = 0, odd = 0, cur;
  cin >> N;
  for (long long i = (0); i < (N); i++) {
    cin >> cur;
    if (cur % 4 == 0) {
      four++;
    } else if (cur % 2 == 0) {
      two++;
    }
  }
  if ((N - min(1, two)) / 2 <= four) {
    cout << ("Yes") << endl;
  } else {
    cout << ("No") << endl;
  }
}
