#include <bits/stdc++.h>
using namespace std;
int main(int argc, char** argv) {
  int N;
  cin >> N;
  int even = 0, times4 = 0;
  for (int i = 0; i < N; i++) {
    long long a;
    cin >> a;
    if (a % 4 == 0)
      times4++;
    else if (a % 2 == 0)
      even++;
  }
  bool flag = false;
  if (3 * times4 >= N) flag = true;
  if (3 * times4 - 1 + even >= N) flag = true;
  if (even == N) flag = true;
  if (flag)
    cout << "Yes\n";
  else
    cout << "No\n";
  return 0;
}
