#include #include #include typedef std::uint_fast32_t uInt; int main() { uInt n; std::cin >> n; uInt start; uInt map=UINT_FAST32_MAX; std::cin >> start; uInt value; for(uInt i=0;i>value; map = map & (~(start ^ value)); } std::cout<<(~map)<