Advanced OR Gate (3 Inputs)