#include <bits/stdc++.h>
using namespace std;
int a, arr[10000], brr[10000], tmp1, tmp2, tmp3;
void input() {
  cin >> a;
  for (int i = 0; i < a; i++) {
    cin >> arr[i];
    if (arr[i] % 4 == 0) tmp1++;
    if (arr[i] % 2 == 1) tmp2++;
    if (arr[i] % 2 == 0) tmp3++;
  }
}
void solve() {
  tmp3 -= tmp1;
  if (tmp2 - tmp1 <= 1 && tmp3 % 2 == 0) cout << "Yes";
  if ((tmp2 + tmp3) - tmp1 <= 1)
    cout << "Yes";
  else
    cout << "No";
}
int main() { input(), solve(); }
