#include <bits/stdc++.h>
using namespace std;
long long int gcd(long long int a, long long int b) {
  return b ? gcd(b, a % b) : a;
}
long long int lcm(long long int a, long long int b) {
  return a / gcd(a, b) * b;
}
const long long int INF = 1e8;
long long int f(long long int num) {
  long long int cnt = 0;
  while (1) {
    if (num % 2 == 0) {
      cnt++;
      num /= 2;
    } else
      break;
  }
  if (cnt >= 2) cnt = 2;
  return cnt;
}
signed main() {
  long long int N;
  cin >> N;
  map<long long int, long long int> m;
  long long int num;
  for (long long int i = 0; i < (long long int)(N); i++) {
    cin >> num;
    m[f(num)]++;
  }
  long long int a = m[0];
  long long int b = m[1];
  long long int c = m[2];
  if (N == 2) {
    if (b + 2 * c >= 2)
      cout << "Yes";
    else
      cout << "No";
  } else if (N == 3) {
    if ((b + 2 * c) >= 3 || (a == 2 && c == 1))
      cout << "Yes";
    else
      cout << "No";
  } else {
    if (a <= 2) {
      if (a == 0)
        cout << "Yes";
      else if (c >= a)
        cout << "Yes";
      else
        cout << "No";
    } else {
      if (2 + (a - 2) * 2 >= c)
        cout << "Yes";
      else
        cout << "No";
    }
  }
}
