#include using namespace std; #define int long long int f(int N){ if(__builtin_popcount(N+1)==1) return N/2; int ans=(N+1)&(-N-1); return ans-1; } signed main() { int N,M; cin >> N >> M; vector A(M); for(int &i : A){ cin >> i; } int ans=0; for(int i=0;i