#include <bits/stdc++.h>
using namespace std;
int main(void) {
  int N;
  vector<int> a;
  int sub;
  bool judge = false;
  int cnt = 0;
  int two_cnt = 0;
  int four_cnt = 0;
  cin >> N;
  for (int i = 0; i < N; i++) {
    cin >> sub;
    a.push_back(sub);
  }
  for (int i = 0; i < N; i++) {
    if (a[i] == 2) two_cnt++;
    if (a[i] % 4 == 0) four_cnt++;
  }
  if (four_cnt >= N / 2)
    judge = true;
  else {
    if (two_cnt >= N - four_cnt * 2) judge = true;
  }
  if (judge)
    cout << "Yes\n";
  else
    cout << "No\n";
}
