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