#include <bits/stdc++.h>
using namespace std;
int main() {
  long long N;
  cin >> N;
  long long o_cnt = 0;
  long long f_cnt = 0;
  long long t_cnt = 0;
  for (int i = 0; i < N; i++) {
    long long tmp;
    cin >> tmp;
    if (tmp % 2 != 0)
      o_cnt++;
    else if (tmp % 4 != 0)
      t_cnt++;
    else
      f_cnt++;
  }
  string ans = "No";
  if (t_cnt >= 1) {
    ans = (o_cnt <= 2 * f_cnt - 1) ? "Yes" : "No";
  } else {
    ans = (o_cnt <= 2 * f_cnt) ? "Yes" : "No";
  }
  cout << ans << endl;
  return 0;
}
