#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  long long int a;
  int num1 = 0, num2 = 0, num3 = 0;
  while (n--) {
    cin >> a;
    if (a % 2 == 1)
      num1++;
    else if (a % 4 == 0)
      num3++;
    else
      num2++;
  }
  if (num3 >= num1)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
