#include <bits/stdc++.h>
using namespace std;
const int INT__MAX = 2147483647;
const int MOD = 1000000007;
int main() {
  int N, count1 = 0, count2 = 0, count4 = 0;
  int a[100010];
  bool check;
  bool ans = false;
  cin >> N;
  if (N % 2 == 0)
    check = true;
  else
    check = false;
  for (int i = 1; i <= N; i++) {
    cin >> a[i];
    if (a[i] % 2 == 0) count2++;
    if (a[i] % 4 == 0) count4++;
  }
  count2 = count2 - count4;
  count1 = N - count2 - count4;
  if (count1 == 0)
    ans = true;
  else {
    if (count4 == 0)
      ans = false;
    else {
      if (count2 == 0) {
        if (count4 >= count1 - 1) ans = true;
      } else if (count2 == 1) {
        if (count4 >= count2 + count1 - 1) ans = true;
      } else {
        if (count4 >= count1 - 1) ans = true;
      }
    }
  }
  if (ans)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
