#include <bits/stdc++.h>
using namespace std;
int main() {
  long N;
  cin >> N;
  int count0 = 0, count1 = 0, count2 = 0;
  for (int i = 0; i < N; i++) {
    int a;
    cin >> a;
    if (a % 4 == 0)
      count2++;
    else if (a % 2 == 0)
      count1++;
    else
      count0++;
  }
  if (count0 < count2)
    cout << "Yes" << endl;
  else if ((count0 == count2) && count1 == 0)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
