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