You are given an array of non-negative integers a_1,a_2,…,a_n and an integer k. Two indices i,j are called inconsistent if both of the two conditions hold:
Here AND stands for bitwise and operation, XOR stands for bitwise exclusive-OR operation.
A consistent coloring of a_1,…,a_n in m colors is an array of n integers c_1,…,c_n (1≤c_i≤m) such that there is no pair of inconsistent indices i,j with c_i=c_j.
Your task is to find the smallest possible number of colors in a consistent coloring of a_1,…,a_n.
In the first line you are given two integers n,k (1≤n,k≤5⋅105).
In the next line you are given n integers a_i (0≤a_i<222).
Print one integer --- the smallest number of colors in a consistent coloring.
One possible consistent coloring in two colors is 1,1,1,2. Since indices 2 and 4 are inconsistent, one color is not enough.