#include <bits/stdc++.h>
using namespace std;
const int MAX = 100000;
int main() {
  int n;
  int cnt = 0;
  int two = 0;
  cin >> n;
  for (int i = 0; i < n; i++) {
    int temp;
    cin >> temp;
    if (temp % 4 == 0)
      cnt++;
    else if (temp == 2)
      two++;
  }
  if (cnt * 2 + 1 + (two - 1) >= n)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
