#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int num[4];
  for (int i = 0; i < n; i++) {
    int a;
    cin >> a;
    num[a % 4]++;
  }
  string ans = "No";
  if (num[2] > 1) {
    int key = n - num[2] - num[0];
    if (key <= num[0]) ans = "Yes";
  } else {
    if (n - num[0] - 1 <= num[0]) ans = "Yes";
  }
  cout << ans << endl;
}
