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