#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int A = 0, B = 0, C = 0, x;
  while (n--) {
    cin >> x;
    if (x % 2 == 0 && x % 4 == 0)
      A++;
    else if (x % 2 == 0)
      B++;
    else
      C++;
  }
  if (A >= C)
    cout << "Yes";
  else if (B == 0)
    cout << "Yes";
  else
    cout << "No";
}
