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