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