#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int t_cnt = 0, f_cnt = 0, o_cnt = 0, tmp;
  for (int i = 0; i < n; i++) {
    cin >> tmp;
    if (tmp % 4 == 0)
      f_cnt += 1;
    else if (tmp % 2 == 0)
      t_cnt += 1;
    else
      o_cnt += 1;
  }
  bool f = false;
  if (t_cnt) {
    f_cnt += t_cnt / 2;
    t_cnt %= 2;
    if (o_cnt + t_cnt <= f_cnt + 1) f = true;
  } else if (o_cnt <= f_cnt + 1)
    f = true;
  if (f)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
