#include <bits/stdc++.h>
using namespace std;
int main() {
  bool is_fours[10010];
  int N, a;
  cin >> N;
  for (int i = 0; i < N; i++) {
    cin >> a;
    a % 4 ? is_fours[i] = true : is_fours[i] = false;
  }
  int ct_two = count(&is_fours[0], &is_fours[N], 2);
  int judgement = count(&is_fours[0], &is_fours[N], 1) -
                  count(&is_fours[0], &is_fours[N], 0);
  if (ct_two % 2 == 1) judgement++;
  ct_two /= 2;
  if (judgement == -1 ||
      (judgement == 0 || judgement == 1 || judgement == 2) && ct_two % 2 == 0)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
