#include <bits/stdc++.h>
using namespace std;
int vis[100050];
vector<int> vec;
int maxn, minn;
int n;
set<int> q1, q2;
int main() {
  cin >> n;
  int a;
  int cnt1 = 0, cnt2 = 0;
  for (int i = 0; i < n; i++) {
    cin >> a;
    if (a % 4 == 0)
      cnt1++;
    else if (a % 2 == 0)
      cnt2++;
  }
  int cnt = cnt1 * 3 + cnt2 - 1;
  if (cnt >= n)
    cout << "Yes\n";
  else
    cout << "No\n" << endl;
  return 0;
}
