#include <bits/stdc++.h>
using namespace std;
int dy[] = {0, 0, 1, -1, 0};
int dx[] = {1, -1, 0, 0, 0};
int N;
vector<int> M;
int main() {
  int second = 0, forth = 0;
  cin >> N;
  for (int i = 0; i < N; i++) {
    int m;
    cin >> m;
    if (m % 4 == 0) {
      forth++;
    } else if (m % 2 == 0) {
      second++;
    }
  }
  if (forth > 0 || second > 1) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
  return 0;
}
