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