#include <bits/stdc++.h>
using namespace std;
int main() {
  int N;
  cin >> N;
  int a[N];
  int c4 = 0;
  int c1 = 0;
  for (int i = 0; i < N; i++) {
    cin >> a[i];
    if (a[i] % 4 == 0) {
      c4++;
    } else if (a[i] % 2 == 1)
      c1++;
  }
  if (c1 == 1 && c4 >= 1)
    cout << "Yes\n";
  else if (N == 3 && c1 == 2 && c4 >= 1)
    cout << "Yes\n";
  else if (N > 3 && c1 == 2 && c4 >= 2)
    cout << "Yes\n";
  else if (c1 > 2 && c4 >= c1 - 2)
    cout << "Yes\n";
  else
    cout << "No\n";
  return 0;
}
