A Thinking Ape interview question

Design a cash machine