#include <bits/stdc++.h>
using namespace std;
signed main() {
  int N;
  cin >> N;
  int cnt[3] = {};
  for (int i = 0; i < N; ++i) {
    int tmp;
    cin >> tmp;
    tmp %= 4;
    if (tmp == 0)
      cnt[0]++;
    else if (tmp == 2)
      cnt[1]++;
    else
      cnt[2]++;
  }
  bool f = true;
  cnt[1] %= 2;
  if (cnt[1] == 1) f &= cnt[0] >= 1;
  if (cnt[0] >= cnt[2]) f &= true;
  cout << (f ? "Yes" : "No") << endl;
}
