#include <bits/stdc++.h>
using namespace std;
int main() {
  int N;
  cin >> N;
  vector<int> a(N);
  for (int i = 0; i < N; i++) cin >> a.at(i);
  int oddnum = 0, num_4 = 0, num_2 = 0;
  for (int i = 0; i < N; i++) {
    if (a.at(i) % 2 == 1)
      oddnum++;
    else if (a.at(i) % 4 == 0)
      num_4++;
    else
      num_2++;
  }
  if (num_4 >= oddnum - 1 && num_2 % 2 == 0)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
}
