#include <bits/stdc++.h>
using namespace std;
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  int n;
  cin >> n;
  int cnt4 = 0, cnt2 = 0, cnt = 0;
  for (int i = 0; i < (n); ++i) {
    int a;
    cin >> a;
    if (a % 4 == 0)
      cnt4++;
    else if (a % 2 == 0)
      cnt2++;
    else
      cnt++;
  }
  if ((cnt4 * 2 >= cnt && cnt2 == 0) || cnt4 * 2 > cnt || cnt == 0)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
}
