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