AND-to-OR circuit