#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++;
  }
  if (bai2 == N) {
    cout << "Yes" << endl;
    return 0;
  } else if (bai2 > 2)
    N -= bai2 - 1;
  else if (bai2 == 2)
    N -= bai2;
  int x;
  if (N <= 0)
    cout << "Yes" << endl;
  else {
    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;
}
