An example using the & operator:


        

An example using the | operator: