Before revision: Connections (clockwise from top center) ground, inputs (3), output, power , output, inputs (3).
After revision: (Vcc)Connections (clockwise from top center) ground, inputs (3), output, power , output, inputs (3).