#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n;
  cin >> n;
  long long arr[n], count = 0, count_4 = 0, count_2 = 0;
  for (long long i = 0; i < n; i++) {
    cin >> arr[i];
    if (arr[i] % 4 == 0)
      count_4++;
    else if (arr[i] % 2 == 0)
      count_2++;
    else
      count++;
  }
  if (count_2 <= 1) {
    if (count_2 == 1) count++;
    if (count_4 + 1 >= count)
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
  } else {
    if (count_4 + 1 >= count && count_2 >= 2)
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
  }
  return 0;
}
