Hi, you can post your logical solution for a problem(In Python)