#include <bits/stdc++.h>
using namespace std;
const int N = 1e5 + 77;
int arr[N];
int p2, p4, p13;
int n;
int main() {
  cin >> n;
  for (int i = 1; i <= n; i++) {
    cin >> arr[i];
    if (arr[i] % 4 == 0)
      p4++;
    else if (arr[i] % 4 == 2)
      p2++;
    else
      p13++;
  }
  if (p2 > 0) {
    if (p4 - 1 >= (p4 - 1 + p13) / 2) {
      cout << "Yes";
      return 0;
    } else {
      cout << "No";
      return 0;
    }
  } else {
    if (p4 >= n / 2) {
      cout << "Yes";
      return 0;
    } else {
      cout << "No";
      return 0;
    }
  }
  return 0;
}
