#include <bits/stdc++.h>
using namespace std;
const int INF = 1e9;
const int MOD = 1e9 + 7;
const long long LLINF = 1e18;
int main() {
  int n;
  cin >> n;
  int count[3];
  count[0] = count[1] = count[2] = 0;
  for (int i = (0); i < (n); i++) {
    int a;
    cin >> a;
    if (a % 4 == 0) {
      count[0]++;
    } else if (a % 2 == 0) {
      count[1]++;
    } else {
      count[2]++;
    }
  }
  bool ans = true;
  if (count[0] + 1 < count[2]) ans = false;
  if (count[1] == 1 && count[0] + 1 < count[1] + count[2]) ans = false;
  if (count[0] == 0 && count[2] > 0) ans = false;
  cout << ((ans) ? "Yes" : "No") << endl;
  return 0;
}
