#include <bits/stdc++.h>
using namespace std;
int main() {
  int a[100000], n, flag2 = 0, flag4 = 0, flag1 = 0;
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> a[i];
    if (a[i] % 4 == 0)
      flag4++;
    else if (a[i] % 2 == 0)
      flag2++;
    else
      flag1++;
  }
  if (flag2 == 0 && flag1 == (flag4 + 1))
    cout << "Yes" << endl;
  else if (flag2 != 0 && flag4 == flag1)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
}
