X = ABC + AB'C + A'BC'

Design a circuit that takes as input two 4-bit numbers x and y and produces a single bit in the output, such that when x = y its output is 1, and when x ≠ y its output is 0.

Hint: use four XNOR and one AND gate.