#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, sum = 0, a[100005], m, x, num = 0, num2 = 0, num1 = 0;
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> x;
    if (x % 4 != 0 && x % 2 == 0) num++;
    if (x % 4 != 0 && x % 2 != 0) num1++;
    if (x % 4 == 0) num2++;
  }
  if (num == 1) sum++;
  sum += num1;
  if (sum > num2 + 1)
    cout << "No";
  else
    cout << "Yes";
}
