Question d’entretien chez Google

Write verilog code for the following circuit.