Given the truth table of a non-trivial symmetric 2-input logic gate, output its name. The 6 possible input/output pairs are: 0001 -> AND 1110 -> NAND 0111 -> OR 1000 -> NOR 0110 -> XOR 1001 -> XNOR (where the 4 symbols represent the outputs of the gate for inputs 00,01,10,11 respectively). Input You can take the input format to be a single sequence "0001" or [0,0,0,1], or a 2-dimensional array [[0,0],[0,1]] or a function g with g(0,1)=0 etc. You do not need to handle input other than the 6 ca...