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