A Thinking Ape Interview Question

Design a cash machine