UKG interview question

System design for ATM machine