#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int half = n / 2;
  int cnt = 0;
  int cnt2 = 0;
  for (int i = 0; i < (int)(n); i++) {
    int tmp;
    cin >> tmp;
    if (tmp % 4 == 0) cnt++;
    if (tmp == 2) cnt2++;
  }
  bool flag = false;
  if (cnt >= half || cnt * 2 + cnt2 >= n) flag = true;
  cout << (flag ? "Yes" : "No") << endl;
}
