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