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