





def     _UpperCamelCase     (a__   :int   ,			a__   :int       ):






							"""simple docstring"""





							return 1 if input_a == input_a else 0





def     _UpperCamelCase     ():






							"""simple docstring"""





							assert xnor_gate(0   ,			0       ) == 1
							assert xnor_gate(0   ,			1       ) == 0
							assert xnor_gate(1   ,			0       ) == 0
							assert xnor_gate(1   ,			1       ) == 1


if __name__ == "__main__":
					print(xnor_gate(0, 0))
					print(xnor_gate(0, 1))
					print(xnor_gate(1, 0))
					print(xnor_gate(1, 1))








from typing import Any





def     _UpperCamelCase     (a__   :list       ):






							"""simple docstring"""





							if not input_list:
														return []
							UpperCamelCase__				     =			[input_list.count(a__       ) for value in input_list]
							UpperCamelCase__				     =			max(a__       )  # Gets the maximum count in the input list.
							# Gets values of modes
							return sorted({input_list[i] for i, value in enumerate(a__       ) if value == y}       )


if __name__ == "__main__":
					import doctest

					doctest.testmod()




