#include <bits/stdc++.h>
using namespace std;
int main() {
  int N;
  cin >> N;
  int aCnt = 0, bCnt = 0, cCnt = 0;
  for (int i = 0; i < N; ++i) {
    int a;
    cin >> a;
    if (a % 4 == 0) {
      aCnt++;
    } else {
      bCnt++;
      if (a == 2) cCnt++;
    }
  }
  bCnt -= cCnt / 2;
  cout << (bCnt - aCnt <= 1 ? "Yes" : "No") << endl;
  return 0;
}
