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