does this logic work?

Printable View