Complete the Logic Gate Circuit