today friendship gift Bakry give Badawy n integer a_1 a_2 dot a_n challenge choose integer x value underset1 leq leq nmax a_i oplus X minimum possible oplus denote bitwise XOR operationAs Badawy lazy decide help find minimum possible value underset1 leq leq nmax a_i oplus x