Concentrix interview question

atm machine code