I was looking for a program/source code that, as related to your logic operation: