#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, num_4 = 0, num_2 = 0, num_no = 0;
  cin >> n;
  int x;
  for (int i = 0; i < n; i++) {
    cin >> x;
    if (x % 4 == 0)
      num_4++;
    else if (x % 2 == 0)
      num_2++;
    else
      num_no++;
  }
  if (num_2 % 2 == 0)
    num_no += num_2 / 2;
  else
    num_no += num_2 / 2 + 1;
  if (num_4 + 1 >= num_no)
    cout << "Yes";
  else
    cout << "No";
  return 0;
}
