Hi Ed,

This is my answer for the cash machine problem.

THank you.