#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int flag = 0;
  int flag1 = 0;
  while (n--) {
    int a;
    cin >> a;
    if (a % 4 == 0)
      flag++;
    else if (a % 2 == 0)
      flag1++;
  }
  int flag2 = 0;
  int tmp;
  if (flag1 % 2 == 0)
    tmp = flag1;
  else
    tmp = flag1 - 1;
  if ((n - tmp) / 2 <= flag) flag2 = 1;
  if (flag2)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
}
