#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, o = 0, d = 0, f = 0;
  cin >> n;
  int a[n + 3];
  for (int i = 0; i < n; i++) {
    cin >> a[i];
    if (a[i] % 4 == 0)
      f++;
    else if (a[i] % 2 == 0)
      d++;
    else
      o++;
  }
  if (d == 0) {
    if (o == f + 1)
      cout << "Yes";
    else
      cout << "No";
  } else {
    if (o == f)
      cout << "Yes";
    else
      cout << "No";
  }
  return 0;
}
