#include <bits/stdc++.h>
using namespace std;
int main() {
  int N;
  cin >> N;
  int bai4 = 0;
  int bai2 = 0;
  long long inp;
  for (int i = 0; i < N; i++) {
    cin >> inp;
    if (inp % 4 == 0) bai4++;
    if (inp % 2 == 0) bai2++;
  }
  int y = (bai2 - bai4) / 2;
  N = N - y;
  int x;
  if (N % 3 == 1)
    x = N + 2;
  else if (N % 3 == 2)
    x = N + 1;
  else
    x = N;
  if (bai4 < x / 3)
    cout << "No" << endl;
  else
    cout << "Yes" << endl;
  return 0;
}
