logical circuits 9521247