#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, temp;
  cin >> n;
  int n1 = 0;
  int n2 = 0;
  int n4 = 0;
  for (int i = 0; i < n; i++) {
    cin >> temp;
    if (temp % 4 == 0)
      n4++;
    else if (temp % 2 == 0)
      n2++;
    else
      n1++;
  }
  if (n4 >= n1)
    cout << "Yes" << endl;
  else if (n1 == n4 - 1 && n2 == 0)
    cout << "Yes" << endl;
  else {
    cout << "No" << endl;
  }
  return 0;
}
