#include <iostream>
using namespace std;

int main(){
  int n, i, count4=0, count2=0, a;
  cin >> n;
  for (i=0; i<n; ++i) {
    cin >> a;
    if (a%4 == 0) count4 += 1;
    else if (a%2 == 0) count2 += 1;
  }
  n = n - (count2 / 2) * 2;
  if ( n > count4 * 2 + 1) cout << "No" << endl;
  else cout << "Yes" << endl;
  return 0;
}
