#include <bits/stdc++.h>
using namespace std;
int main() {
  int count4 = 0, count2 = 0;
  int n;
  cin >> n;
  string str = "No";
  int *arr = new int[n];
  for (int i = 0; i < n; i++) cin >> arr[i];
  if (n == 2) {
    if (arr[0] % 4 == 0 || arr[1] % 4 == 0 ||
        (arr[0] % 2 == 0 && arr[1] % 2 == 0))
      cout << "Yes";
    else
      cout << "No";
    return 0;
  }
  for (int i = 0; i < n; i++) {
    if (arr[i] % 4 == 0) count4++;
    if (arr[i] % 2 == 0 && arr[i] % 4 != 0) count2++;
  }
  if (n % 2 == 0) {
    if (count4 >= n / 2 - count2 + 1) str = "Yes";
  } else {
    if (count4 >= n / 2 - 1 - count2 + 1) str = "Yes";
  }
  cout << str;
  return 0;
}
